code: public boolean isPublisherWrapped(AbstractProject<?, ?> project, Class<T> type) {
          return find(project, type) != null;
      }
docs: Determines whether a project has the specified publisher type, wrapped by the "Flexible Publish" publisher.
  @param project   The project
  @param type      The type of the publisher
  @return          true if the project contains a publisher of the specified type wrapped by the "Flexible Publish" publisher.