Validate method for CollectionType

patch by slebresne; reviewed by thobbs for CASSANDRA-7208