static bool containsAnyOf(S s, Collection strings) { if (s == null) false; for (S x : unnull(strings)) if (s.contains(x)) true; false; }