'Return True if the user has each of the specified permissions. If
object is passed, check if the user has all required perms for it.'

def has_perms(self, perm_list, obj=None):

    return all((self.has_perm(perm, obj) for perm in perm_list))
