treat reddit.is_logged_in as a function