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