Validate collection
The operator checks whether a collection is valid.