private boolean isLocalRequest(DLockRequestMessage request) {
    return request.getSender().equals(dlock.getDistributionManager().getId());
  }
Returns true if the request comes from the local member.

@param request the lock request to check
@return true if the request comes from the local member
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java