public function hasSelectors() { if ($this->isReference() && $this->getProject() !== null) { return $this->getRef($this->getProject())->hasSelectors(); } return !empty($this->selectors); }