code: public boolean isContaining(String rootPath) {
  
          if ((rootPath != null) && (m_resourcesNames != null)) {
              Iterator<String> i = m_resourcesNames.iterator();
              while (i.hasNext()) {
                  String path = i.next();
                  if (rootPath.startsWith(path)) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Returns <code>true</code> in case the given resource root path is contained in the list of
  configured resource names of this index source.<p>
  
  @param rootPath the resource root path to check
  
  @return <code>true</code> in case the given resource root path is contained in the list of
  configured resource names of this index source
  
  @see #getResourcesNames()