code: public static Predicate<Class<?>> atLeastOneMethodAnnotatedWith(final Class<? extends Annotation>
              annotationClass, boolean includeMetaAnnotations) {
          return candidate -> Classes.from(candidate)
                  .traversingInterfaces()
                  .traversingSuperclasses()
                  .methods()
                  .anyMatch(elementAnnotatedWith(annotationClass, includeMetaAnnotations));
  
      }
docs: Checks if the candidate or one of its superclasses or interfaces has at least one method
  annotated or meta-annotated
  by the given annotation.
  
  @param annotationClass        the requested annotation
  @param includeMetaAnnotations if true, meta-annotations are included in the search.
  @return the predicate.