check_assign_na function

Check an output field and assign NA when input variables all have NAs