public function holdsLock($absPath)
{
if (!$this->session->nodeExists($absPath)) {
throw new PathNotFoundException("The node '{$absPath}' does not exist");
}
$node = $this->session->getNode($absPath);
return $node->isNodeType('mix:lockable') && $node->hasProperty('jcr:lockIsDeep') && $node->hasProperty('jcr:lockOwner');
}