code: def condition(self) -> bool:
          
          jwt = JWT()
          if jwt.verify_http_auth_token():
              if not current_app.config['AUTH']['FAST_SESSIONS']:
                  session = SessionModel.where_session_id(
                      jwt.data['session_id'])
                  if session is None:
                      return False
              Session.set_current_session(jwt.data['session_id'])
              return True
          return False
docs: check JWT, then check session for validity