public function hasTag(string $tag) : bool
    {
        return null !== Psi::it($this->annotations)
                ->filter(new IsInstanceOf(Tag::class))
                ->filter(function (Tag $t) use ($tag) {
                    return $t->filter($tag);
                })
                ->getFirst();
    }
public function hasTag(string $tag) : bool
    {
        return null !== Psi::it($this->annotations)
                ->filter(new IsInstanceOf(Tag::class))
                ->filter(function (Tag $t) use ($tag) {
                    return $t->filter($tag);
                })
                ->getFirst();
    }
@param string $tag

@return bool