def validate(self, value):
        """
            Validate value.

            If value is valid, returns `True` and `False` otherwise.

            :param value:
                Value to validate
        """
        # useful for filters with date conversions, see if conversion in clean() raises ValueError
        try:
            self.clean(value)
            return True
        except __HOLE__:
            return False
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/filters.py/BaseFilter.validate