def is_valid_filter(self, filter):
        return isinstance(filter, filters.BaseFilter)
Verify that the provided filter object is valid.
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/model/base.py/BaseModelView.is_valid_filter