boolean isBeingAccessed() {
      synchronized (this) {
        return accessCount > 0;
      }
    }
Returns true if the access count is greater than zero.
<p>
Synchronizes on this grant token.

@return true if the access count is greater than zero
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java