validate method
Implementation
@override
bool validate(cached, value, DogEngine engine) {
if (cached as bool) {
if (value == null) return true;
return (value as Iterable).every((e) => validateSingle(e));
} else {
return validateSingle(value);
}
}