def parse_zone_groups(player):
    """Creates a list of all Zones with attrbute
    whether they are a group or a single player"""
    all_zones = []
    for group in player.all_groups:
        if len(group.members) > 1:
            all_zones.append({"kind":"G", "master":group.coordinator})
        else:
            all_zones.append({"kind":"P", "master":group.coordinator})
    return all_zones