結果 : check if object is dictionary python