public static boolean decRefCount(AbstractRegionEntry re) {
    TXManagerImpl mgr = currentInstance.get();
    if (mgr != null) {
      return mgr.refCountMap.removeConditionally(re, decCallback, null, null) != null;
    } else {
      return true;
    }
  }
Return true if refCount went to zero.
geode-core/src/main/java/org/apache/geode/internal/cache/TXManagerImpl.java