結果 : check if string contains certain letters python