validate

open override fun validate(value: Collection<*>): String?

Returns null if value is valid, or a human-readable reason string if invalid.