code: def _is_admin(self, username):
          
          roles = self._get_roles(username)
          return self.roles.is_admin(roles['roles'])
docs: Check if a user is an ldapcherry administrator
          @str username: name of the user
          @rtype: bool, True if administrator, False otherwise