code: private static final boolean contains(Collection<String> list, String value) {
          for (String item : list)
              if (item.contains(value))
                  return true;
          return false;
      }
docs: Utility method that determines if some text is found as a substring within the contents of a list.
  
  @param list items through which to search.
  @param value text for which to search.
  @return true if found, otherwise false.