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