def METHOD_NAME(router):
    output = json.loads(
        tgen.gears[router].vtysh_cmd(
            "show ip bgp neighbor 192.168.255.1 routes json"
        )
    )
    expected = {"routes": {"172.16.255.254/32": [{"valid": True}]}}
    return topotest.json_cmp(output, expected)