

def is_valid(self, value):
    'Check if the value is valid.\n\n        :return: ``True`` if the value is valid, ``False`` if invalid.\n        '
    try:
        self.validate(value)
        return True
    except (ValidationError, ValueError):
        return False

dataset/ETHPy150Open sdispater/cleo/cleo/validators/__init__.py Validator.is_valid/original