def METHOD_NAME(router, expected_locator_file):
    logger.info("checking zebra locator status")
    output = json.loads(router.vtysh_cmd("show segment-routing srv6 locator json"))
    expected = open_json_file("{}/{}".format(CWD, expected_locator_file))
    return topotest.json_cmp(output, expected)