結果 : check if dict is not empty python