public function insideSubtree(TreeModel $otherNode)
{
// Sanity checks on current node position
if ($this->lft >= $this->rgt) {
throw new TreeInvalidLftRgtCurrent();
}
if ($otherNode->lft >= $otherNode->rgt) {
throw new TreeInvalidLftRgtOther();
}
return $this->lft > $otherNode->lft && $this->rgt < $otherNode->rgt;
}