code: protected boolean contains(CmsPublishJobInfoBean publishJob) {
  
          List<CmsPublishJobInfoBean> l = OpenCms.getMemoryMonitor().getAllCachedPublishJobs();
          if (l != null) {
              for (int i = 0; i < l.size(); i++) {
                  CmsPublishJobInfoBean b = l.get(i);
                  if (b == publishJob) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Checks if the given job is already in the queue, this does only check for the identical job.<p>
  
  @param publishJob the publish job to check for
  
  @return true if the given job is already in the queue