public boolean hasNoCq() {
    synchronized (this) {
      return _statistics.getCqCount() == 0;
    }
  }
Returns true if the client has no CQs

@return true if the client has no CQs
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientProxy.java