src/Core/Doctrine/Annotation/Scanner/ClassInspector.php
public function containsPropertyAnnotation($annotationName): bool
    {
        foreach ($this->getPropertyAnnotations() as $annotations) {
            foreach ($annotations as $annotation) {
                if ($annotation instanceof $annotationName) {
                    return true;
                }
            }
        }

        return false;
    }
public function containsPropertyAnnotation($annotationName): bool
    {
        foreach ($this->getPropertyAnnotations() as $annotations) {
            foreach ($annotations as $annotation) {
                if ($annotation instanceof $annotationName) {
                    return true;
                }
            }
        }

        return false;
    }
@param string $annotationName

@return bool