private void throwIfDestroyed(boolean destroyed) {
    if (destroyed) {
      throw new LockGrantorDestroyedException(
          "Grantor is destroyed");
    }
  }
Throws LockGrantorDestroyedException if destroyed is true.

@param destroyed if true then throw LockGrantorDestroyedException
@throws LockGrantorDestroyedException if destroyed is true
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java