結果 : python check if list only contains certain values