How can we check for an array with only zeros?

Technical