Python Check If All Array Elements Are True