public static boolean checkPrimary(CacheClientProxy proxy) {
    System.out.println("proxy " + proxy.getProxyID() + " : " + proxy.isPrimary());
    return proxy.isPrimary();

  }
Helper class to access the required functions of this package from outside the package.
geode-dunit/src/main/java/org/apache/geode/internal/cache/tier/sockets/HaHelper.java