結果 : check if something is a character python