結果 : check if type is dict python