code: public static boolean isAnnotationPresent(final Class<?> c, final Class<? extends Annotation> type)
     {
        return getAnnotation(c, type) != null;
     }
docs: Discover if a Class <b>c</b> has been annotated with <b>type</b>. This also discovers annotations defined through
  a @{@link Stereotype}.
  
  @param c The class to inspect.
  @param type The targeted annotation class
  @return True if annotation is present either on class, false if the annotation is not present.