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

        return False
dataset/ETHPy150Open torchbox/Willow/willow/registry.py/WillowRegistry.operation_exists/swapped operands of `in`