private boolean isLeaseHeldBy(InternalDistributedMember sender, int lockId) {
      Assert.assertTrue(sender != null, "sender is null: " + this);
      Assert.assertTrue(lockId > -1, "lockId is < 0: " + this);
      return sender.equals(lessee) && lockId == leaseId;
    }
Returns true if the sender holds a lease on this lock using lockId.
<p>
Caller must synchronize on this grant token.

@param sender the member that potentially holds a lease
@param lockId the lock id provided by the member
@return true if the sender holds a lease on this lock guarded.By this
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockGrantor.java