code: public static boolean isConvertibleToPublisher(Object object) {
          if (object == null) {
              return false;
          }
          if (object instanceof Publisher) {
              return true;
          } else {
              return isConvertibleToPublisher(object.getClass());
          }
      }
docs: Is the given object a Publisher or convertible to a publisher.
  
  @param object The object
  @return True if it is