結果 : check if dict not empty python