結果 : if dict is not empty python