def collection_exists(self, collection):
    return collection in self.get_collections()
dataset/ETHPy150Open cloudera/hue/desktop/libs/indexer/src/indexer/controller.py/CollectionManagerController.collection_exists/original