/** * {@inheritdoc} */ public function hasTaxon(BaseTaxonInterface $taxon) { return $this->taxons->contains($taxon); }