def logged_in(f):
    """
    Decorator for Page methods that require the user to be authenticated.
    """

    @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

    Decorator for Page methods that require the user to be authenticated.
    
rtv/page.py