Returns true if any of the provided ids exist in this collection.
ids
bool containsAny(List<D> ids) { for (var id in ids) { var idx = binarySearchIndex(id); if (idx >= 0) return true; } return false; }