code: public function isDescendantOf($other) {
      return (
        $this->getLeft() > $other->getLeft()  &&
        $this->getLeft() < $other->getRight() &&
        $this->inSameScope($other)
      );
    }
docs: Returns true if node is a descendant.
  
  @param NestedSet
  @return boolean