if your question is "how to check multiple fields ...
# codingconventions
y
if your question is "how to check multiple fields for null in an idiomatic way", then we can answer that