public function isFirstSibling() { if ($this->getLeft() - 1 == $this->parent->getLeft()) { return true; } return false; }