code: private boolean isUnchangedAndShouldBeRemoved(CmsResource item) {
  
          if (item.getState().isUnchanged()) {
              return !m_keepOriginalUnchangedResources || !m_originalResources.contains(item);
          }
          return false;
      }
docs: Checks if the resource is unchanged *and* should be removed.<p>
  
  @param item the resource to check
  @return true if the resource is unchanged and should be removed