pub fn bool<F>(predicate: F) -> impl Validatorwhere F: Fn(&bool) -> Result<(), String> + 'static,
Match if bool match predicate.