public boolean isConnected() {
    return connected;
  }
Returns whether the proxy is connected to a remote client

@return whether the proxy is connected to a remote client
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java