validify/validation/
required.rs

1/// Validates whether the given Option is Some
2#[must_use]
3pub fn validate_required<T>(val: &Option<T>) -> bool {
4    val.is_some()
5}