結果 : check if type of string python