結果 : check if a string has a character python