public boolean isHeldByCurrentThread() {
    return lock.isHeldByCurrentThread();
  }
@return true if it is held
geode-core/src/main/java/org/apache/geode/internal/util/concurrent/StoppableReentrantLock.java