結果 : check if string has a character python