/** * {@inheritdoc} */ public function hasTag(TagInterface $tag) { return $this->tags->contains($tag); }