code: def current_guard():
      
      guard = flask.current_app.extensions.get('praetorian', None)
      PraetorianError.require_condition(
          guard is not None,
          "No current guard found; Praetorian must be initialized first",
      )
      return guard
docs: Fetches the current instance of flask-praetorian that is attached to the
      current flask app