def METHOD_NAME():
    tgen.gears["r4"].vtysh_cmd(
        "conf t\nrouter bgp\nneighbor 192.168.255.254 remote-as external"
    )
    output = json.loads(tgen.gears["r4"].vtysh_cmd("show bgp summary json"))
    if (
        len(output.keys()) == 3
        and "ipv4Unicast" in output
        and "ipv6Unicast" in output
        and "l2VpnEvpn" in output
    ):
        return True
    return False