Python Check If All Array Elements Are Zero