pub fn should_validate(mode: &ValidationMode) -> bool
Check whether validation should run for the given mode.