docs: static boolean hasAnnotatedMethods(final Type type) {
          if (type instanceof Class<?>) {
              for (final Method method : ((Class<?>)type).getMethods()) {
                  for (final Annotation annotation : method.getAnnotations()) {
                      if (annotation.annotationType().getName().startsWith("org.jbehave.core.annotations")) {
                          return true;
                      }
                  }
              }
          }
          return false;
      }