docs: public static boolean isAnnotationPresent(Class<?> target, Class<? extends Annotation> annotation) {
          Class<?> clazz = target;
          if (clazz.isAnnotationPresent(annotation)) {
              return true;
          }
          while((clazz = clazz.getSuperclass()) != null) {
              if (clazz.isAnnotationPresent(annotation)) {
                  return true;
              }
          }
          return false;
      }