結果 : check if there is a character in a string python