結果 : python check if variable is dict or string