def votes_visible(user):
 return ((c.user_is_loggedin and (c.user.name == user.name)) or user.pref_public_votes or c.user_is_admin)

def votes_visible ( user ) : return ( ( c . user_is_loggedin and ( c . user . name == user . name ) ) or user . pref_public_votes or c . user_is_admin )
determines whether to show/hide a users votes .