static DLockGrantor getGrantorForService(DLockService dlock) {
    if (dlock == null) {
      return null;
    }
    return dlock.getGrantor();
  }
Gets the local instance of grantor for the lock service if one exists.

@param dlock the lock service the grantor is authority for
@return instance of grantor for the lock service or null if no local grantor has been created
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java