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