public static Boolean getThreadOwnsResourcesRegistration() {
    return threadWantsOwnResources.get();
  }
Returns true if calling thread owns its own communication resources.
geode-core/src/main/java/org/apache/geode/internal/tcp/ConnectionTable.java