LockManager.isLockHeld

Returns true if the lock is held by another user, returns false if no lock exists or the lock is held by the user associated with the current thread.

returns boolean

Parameters

java.lang.String  resourceName,  java.lang.String  id,