public function isInitialStatus() { if ($this->getSource() === null) { throw new WorkflowException('no workflow source component available'); } return $this->getWorkflow()->getInitialStatusId() == $this->getId(); }