/** * Checks whether the passed category exists. * * @access protected * @param integer $category * @return boolean */ protected function categoryExists($category) { if ($this->objNestedSet->pickNode($category)) { return true; } return false; }