'Return whether user is opted in to the subreddit\'s content.
If a subreddit is quarantined, users must opt-in before viewing its
content. Logged out users cannot opt-in, and all users are considered
opted-in to non-quarantined subreddits.'

def is_exposed(self, user):

    if (not self.quarantine):
        return True
    elif (not user):
        return False
    elif (user.email_verified and QuarantinedSubredditOptInsByAccount.is_opted_in(user, self)):
        return True
    return False
