def has_perms(self, perm_list, obj=None):
        for perm in perm_list:
            if not self.has_perm(perm, obj):
                return False
        return True
Create new role in keystone.
dataset/ETHPy150Open adieu/django-nonrel/django/contrib/auth/models.py/User.has_perms--crossover with--dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/identity/keystone.py/KeystoneIdentity.create_role