private boolean checkLockGrantorId(LockGrantorId someLockGrantorId) {
    Assert.assertHoldsLock(lockGrantorIdLock, true);
    if (lockGrantorId == null) {
      return false;
    }
    return lockGrantorId.sameAs(someLockGrantorId);
  }
Returns true if {@link #lockGrantorId} is the same as the specified LockGrantorId. Caller must
synchronize on {@link #lockGrantorIdLock}.

@param someLockGrantorId the LockGrantorId to check
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java