private boolean threadOwnsResources() {
    DistributionManager d = getDM();
    if (d != null) {
      return d.getSystem().threadOwnsResources() && !AlertingAction.isThreadAlerting();
    }
    return false;
  }
Returns true if calling thread owns its own communication resources.
geode-core/src/main/java/org/apache/geode/internal/tcp/ConnectionTable.java