結果 : how to check if type is string in python