def validate(self, value):
        try:
            timetuples = [time.strptime(range, '%H:%M:%S')
                          for range in value.split(' to ')]
            if (len(timetuples) == 2) and (timetuples[0] <= timetuples[1]):
                return True
            else:
                return False
        except __HOLE__:
            raise
            return False
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/filters.py/BaseTimeBetweenFilter.validate