def is_visible(self):
        return True
Override this method if you want dynamically hide or show administrative views
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/base.py/BaseView.is_visible