private boolean quitting() {
    if (isInterrupted()) {
      // Any time an interrupt is thrown at this thread, regard it as a request to terminate
      return true;
    }
    if (!continueProcessing.get()) {
      // de facto flag indicating we are to stop
      return true;
    }
    if (cache != null && cache.getCancelCriterion().isCancelInProgress()) {
      // System is cancelling
      return true;
    }

    // The pool stuff is really sick, so it's possible for us to have a distributed
    // system that is not the same as our cache. Check it just in case...
    return system.getCancelCriterion().isCancelInProgress();

    // All clear on this end, boss.
  }
Indicate whether the updater or the system is trying to terminate

@return true if we are trying to stop
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/CacheClientUpdater.java