def is_admin(self, roles):
        """determine from a list of roles if is ldapcherry administrator"""
        for r in roles:
            if r in self.admin_roles:
                return True
        return False
def is_admin ( self , roles ) : for r in roles : if r in self . admin_roles : return True return False
determine from a list of roles if is ldapcherry administrator