code: public static boolean isAnnotated(AnnotatedElement element, Class<? extends Annotation> annotationType) {
          return findAnnotation(element, annotationType) != null;
      }
docs: @param element
  @param annotationType
  
  Determine if an annotation of {@code annotationType} is either
  <em>present</em> or <em>meta-present</em> on the supplied
  {@code element}.
  
  @return true element is annotated