"contains()" method for checking if collection contains a resource.