code: public boolean containsRequiredAnnotations(Collection<Class<? extends Annotation>> requiredAnnotations) {
          if (annotatedType instanceof BackedAnnotatedType<?>) {
              return containsAnnotation((BackedAnnotatedType<?>) annotatedType, requiredAnnotations);
          } else if (annotatedType instanceof UnbackedAnnotatedType<?>) {
              return containsAnnotation((UnbackedAnnotatedType<?>) annotatedType, requiredAnnotations);
          } else {
              throw new IllegalArgumentException("Unknown SlimAnnotatedType implementation: " + annotatedType.getClass().toString());
          }
      }
docs: Returns true if and only if the underlying {@link AnnotatedType} contains any of the given annotation types.