結果 : check if list contains all same elements python