結果 : check all elements in array python