static bool closeAfterRemove(Cl l, A a) { if (!remove_trueIfChanged(l, a)) false; close(a); true; }