code: public boolean isLockLive(String nodeId) throws LockException
     {
        try
        {
           return isLockLive.run(nodeId);
        }
        catch (LockException e)
        {
           if (LOG.isTraceEnabled())
           {
              LOG.trace("An exception occurred: " + e.getMessage());
           }
        }
        return false;
     }
docs: Check is LockManager contains lock. No matter it is in pending or persistent state.