結果 : check if type is dictionary python