/** * @inheritdoc */ public function hasChildren() { return !$this->children->isEmpty() ? true : false; }