private static function haveAnnotation($annotationClass, array $annotationList)
    {
        foreach ($annotationList as $annotation) {
            if (is_a($annotation, $annotationClass)) {
                return $annotation;
            }
        }
        return false;
    }