@Override
  public boolean isDestroyed() {
    return dlock.isDestroyed() || system.getCancelCriterion().isCancelInProgress();
  }
The distributed system for cancellation checks.
geode-core/src/main/java/org/apache/geode/internal/cache/locks/TXLockServiceImpl.java