code: public boolean filter(Event event) {
          LOG.info("StringContentFilter called");
          
          if (wordsToFilter != null) {
              for (String filterWord : wordsToFilter) {
                  if (event.getContent() != null
                          && -1 != event.getContent().indexOf(filterWord)) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Filter event if word occurs in wordsToFilter.
  
  @param event the event
  @return true, if successful