[4.2] Add hasAny(), hasNone() and hasAll() to collection