void throwIfCurrentThreadHadExpiredLease() throws LeaseExpiredException {
    if (expiredLeases == null) {
      return;
    }
    if (expiredLeases.containsKey(Thread.currentThread())) {
      expiredLeases.remove(Thread.currentThread());
      throw new LeaseExpiredException(
          "This thread's lease expired for this lock");
    }
  }
Throws LeaseExpiredException if the calling thread's lease on this lock previously expired. The
expired lease will no longer be tracked after throwing LeaseExpiredException. Caller must
synchronize on this lock token.

@throws LeaseExpiredException if calling thread's lease expired
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockToken.java