result["builtin_roles"] = [] result["teams"] = []To
result["builtin_roles"] = None result["teams"] = None
""" if 'role' in key: roles=value result["authorized"] = any( 'Domain Users' in role for role in roles ) if any( 'Administrators' in role for role in roles ): result["authorized"] = True result["builtin_roles"] = ["global_admin",] result["teams"] = ["Administrators", ] """