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