結果 : check if dictionary is empty python