code: public static boolean hasAnnotation(final MethodNode methodNode, final Class<? extends Annotation> annotationClass) {
          return !methodNode.getAnnotations(new ClassNode(annotationClass)).isEmpty();
      }
docs: Returns true if MethodNode is marked with annotationClass
  @param methodNode A MethodNode to inspect
  @param annotationClass an annotation to look for
  @return true if classNode is marked with annotationClass, otherwise false