code: private boolean containsAnnotation(List<AnnotationExpr> annos, String annotationName) {
          for (AnnotationExpr anno : annos) {
              if (anno.getName().getName().equals(annotationName)) {
                  return true;
              }
          }
          return false;
      }
docs: Check if the list of annotation contains the annotation  of given name.
  
  @param annos,          the annotation list
  @param annotationName, the annotation name
  @return <code>true</code> if the annotation list contains the given annotation.