def operation_exists(self, operation_name):
        for image_class_operations in self._registered_operations.values():
            if operation_name in image_class_operations:
                return True

        return False
dataset/ETHPy150Open torchbox/Willow/willow/registry.py/WillowRegistry.operation_exists/original