結果 : if dictionary not empty python