結果 : how to check if string type python