private void checkDestroyed() {
    if (destroyed) {
      IllegalStateException e = new IllegalStateException(
          String.format("Attempting to use destroyed token: %s", this));
      throw e;
    }
  }
Throws IllegalStateException if this lock token has been destroyed. Caller must synchronize on
this lock token.

@throws IllegalStateException if this lock token has been destroyed
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockToken.java