code: public boolean isExcluded(ItemData eventData)
     {
        if (excludedPath != null
           && (eventData.getQPath().isDescendantOf(excludedPath) || eventData.getQPath().equals(excludedPath)))
        {
           return true;
        }
  
        return !allIndexing && !eventData.getQPath().isDescendantOf(indexingRootQpath)
           && !eventData.getQPath().equals(indexingRootQpath);
     }
docs: Checks if the given event should be excluded based on the
  {@link #excludedPath} setting.
  
  @param eventData
  observation event
  @return <code>true</code> if the event should be excluded,
  <code>false</code> otherwise