結果 : check if all elements are true python