static bool eqOneOf(O o, O... l) { if (l != null) for (O x : l) if (eq(o, x)) true; false; }