Return true if this Resource is selected.paramr the Resource to check.returnwhether the Resource was selected.