public function hasProductDefinition() { return $this->productDefinition instanceof ProductDefinition; }