public boolean isAnnotationPresent(Class<? extends Annotation> annotationType){
  return getAnnotation(annotationType) != null;
}

public boolean isAnnotationPresent ( Class < ? extends Annotation > annotationType ) { return getAnnotation ( annotationType ) != null ; }
indicates whether or not the given annotation is present .
