pub fn validate_non_empty_collection<T>( collection: &[T], field_name: &str, ) -> Result<()>
Validate collection is not empty