def METHOD_NAME(self: SharedUtils) -> list:
    if self.overlay_routing_protocol in ["ebgp", "ibgp"]:
        default_overlay_address_families = get(self.node_type_key_data, "default_overlay_address_families", ["evpn"])
        return get(self.switch_data_combined, "overlay_address_families", default=default_overlay_address_families)
    return []