code: private boolean isAnnotationArray(Map<? extends ExecutableElement, ? extends AnnotationValue> pairs) {
          AnnotationValue annotationValue;
          for (ExecutableElement ee : pairs.keySet()) {
              annotationValue = pairs.get(ee);
              boolean rvalue = new SimpleAnnotationValueVisitor9<Boolean, Void>() {
                  @Override
                  public Boolean visitArray(List<? extends AnnotationValue> vals, Void p) {
                      if (vals.size() > 1) {
                          if (vals.get(0) instanceof AnnotationMirror) {
                              isContainerDocumented = true;
                              return new SimpleAnnotationValueVisitor9<Boolean, Void>() {
                                  @Override
                                  public Boolean visitAnnotation(AnnotationMirror a, Void p) {
                                      isContainerDocumented = true;
                                      Element asElement = a.getAnnotationType().asElement();
                                      if (utils.isDocumentedAnnotation((TypeElement)asElement)) {
                                          isAnnotationDocumented = true;
                                      }
                                      return true;
                                  }
                                  @Override
                                  protected Boolean defaultAction(Object o, Void p) {
                                      return false;
                                  }
                              }.visit(vals.get(0));
                          }
                      }
                      return false;
                  }
  
                  @Override
                  protected Boolean defaultAction(Object o, Void p) {
                      return false;
                  }
              }.visit(annotationValue);
              if (rvalue) {
                  return true;
              }
          }
          return false;
      }
docs: Check if the annotation contains an array of annotation as a value. This
  check is to verify if a repeatable type annotation is present or not.
  
  @param pairs annotation type element and value pairs
  
  @return true if the annotation contains an array of annotation as a value.