pub fn validity_to_child(validity: &Validity, len: usize) -> Option<ArrayRef>
Returns the validity as a child array if it produces one.