sbool containsNL(Collection l, S pat) { if (l == null) false; if (l.contains(pat)) true; for (S s : l) if (match(pat, s)) true; false; }