public function hasAssociation($fieldName) { return $fieldName === $this->startNodeReflectionProperty->getName() || $fieldName === $this->endNodeReflectionProperty->getName(); }