(self)
return not self.is_spammer and not self.is_suspended and not self.is_banned
User is not banned, suspended, or banned
User is not banned, suspended, or banned
User is not banned suspended or banned
def is_valid(self):
        """
        User is not banned, suspended, or banned
        """
        return not self.is_spammer and not self.is_suspended and not self.is_banned
def is_valid ( self ) : return not self . is_spammer and not self . is_suspended and not self . is_banned