code: def logged_in(f):
      
  
      @wraps(f)
      def wrapped_method(self, *args, **kwargs):
          if not self.reddit.is_oauth_session():
              self.term.show_notification('Not logged in')
              return None
          return f(self, *args, **kwargs)
      return wrapped_method
docs: Decorator for Page methods that require the user to be authenticated.