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