結果 : python check if list contains only certain values