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