Helper method to retrieve the object

def _return_object(self, container, item_name):
        """Helper method to retrieve the object"""
        coll = container.get_collection()
        for item in coll:
            if item.name == item_name:
                return item