/** * @return bool */ public function isEmpty() { return is_null($this->project) || is_null($this->project->getId()); }