checkStatus();
if (isNew() || !isNodeType(NameConstants.MIX_LOCKABLE)) {
// a node that is new or not lockable never holds a lock
return false;
} else {
LockStateManager lMgr = session.getLockStateManager();
return (lMgr.isLocked(getNodeState()) && lMgr.getLock(getNodeState()).getNode().isSame(this));
}
}