'Return whether a user can set this one\'s flair in a subreddit.'

def can_flair_in_sr(self, user, sr):

    can_assign_own = ((self._id == user._id) and sr.flair_self_assign_enabled)
    return (can_assign_own or sr.is_moderator_with_perms(user, 'flair'))
