private boolean equalsLockGrantorId(LockGrantorId someLockGrantor) {
    Assert.assertHoldsLock(lockGrantorIdLock, true);
    if (someLockGrantor == null) {
      return lockGrantorId == null;
    }
    return someLockGrantor.equals(lockGrantorId);
  }
Returns true if <code>someLockGrantor</code> equals the current {@link #lockGrantorId}.

@return true if someLockGrantor equals the current lockGrantorId
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java