code: public boolean isIndexing(String rootPath, String documentType) {
  
          return m_documentTypes.contains(documentType) && isContaining(rootPath);
      }
docs: Returns <code>true</code> in case the given resource root path is contained in the list of
  configured resource names, and the given document type name is contained in the
  list if configured document type names of this index source.<p>
  
  @param rootPath the resource root path to check
  @param documentType the document type factory name to check
  
  @return <code>true</code> in case the given resource root path is contained in the list of
  configured resource names, and the given document type name is contained in the
  list if configured document type names of this index source
  
  @see #isContaining(String)
  @see #getDocumentTypes()