[4.2] Collection : add hasAny(), hasNone() and hasAll()

Add some functions to check the presence of items by key in a collection