def is_valid(self, value):
        """Check if the value is valid.

        :return: ``True`` if the value is valid, ``False`` if invalid.
        """
        try:
            self.validate(value)

            return True
        except (ValidationError, __HOLE__):
            return False
dataset/ETHPy150Open sdispater/cleo/cleo/validators/__init__.py/Validator.is_valid