結果 : test if dictionary is empty python