結果 : check if object in dictionary python