private boolean isLockGrantorVersion(DLockGrantor dlockGrantor, long grantorVersion) {
    if (dlockGrantor == null) {
      return false;
    }
    return dlockGrantor.getVersionId() == grantorVersion;
  }
Returns true if the grantor version of <code>dlockGrantor</code> equals the
<code>grantorVersion</code>.

@param dlockGrantor the grantor instance to compare to grantorVersion
@param grantorVersion the grantor version number
@return true if dlockGrantor is the same grantor version
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java