def _handle_view(self, name, **kwargs):
        if not self.is_accessible():
            return self.inaccessible_callback(name, **kwargs)
This method will be executed before calling any view method.
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/base.py/BaseView._handle_view