public boolean tryLock() {
    stopper.checkCancelInProgress(null);
    return lock.tryLock();
  }
@return true if the lock is acquired
geode-core/src/main/java/org/apache/geode/internal/util/concurrent/StoppableReentrantLock.java