結果 : check if variable is a dictionary python