code: private static boolean isProducer(Annotated annotated) {
          boolean isProducer = false;
  
          Produces produces = annotated.getAnnotation(Produces.class);
  
          if (produces != null) {
              isProducer = true;
          }
  
          return isProducer;
      }
docs: Returns whether a given injection point is a producer (i.e. annotated with @Produces)
  
  @return true if the injection point is a producer, otherwise false