// check if given role exists in a list of roles
check if given role exists in a list of roles
// check if given role exists in a list of roles
func roleExists(roles []*keycloak.Role, role *keycloak.Role) bool {
	for _, r := range roles {
		if r.Id == role.Id {
			return true
		}
	}
	return false
}
func roleExists ( roles [ ] * keycloak . Role , role * keycloak . Role ) bool { for _ , r := range roles { if r . Id == role . Id { return true } } return false }
check if given role exists in a list of roles
check if given role exists in a list of roles