結果 : how to check if an object is a string in python