protected boolean setContainsGeneralTerm(Set<String> set, String term)
	{
		for (String s : set)
		{
			if (s.contains(term)) return true;
		}
		return false;
	}
protected boolean setContainsGeneralTerm ( Set < String > set , String term ) { for ( String s : set ) { if ( s . contains ( term ) ) return true ; } return false ; }
Checks if any element in the set contains the term.
@param set set to check
@param term term to search for
@return true if any element contains the term