static bool containsNulls(Collection c) { if (c != null) for (O o : c) if (c == null) true; false; }