public boolean isCancelInProgress() {
    return cancelInProgress() != null;
  }
Checks to see if a cancellation is in progress. This is equivalent to the expression
(cancelInProgress() != null).

@return true if a cancellation is in progress, false if not
geode-core/src/main/java/org/apache/geode/CancelCriterion.java