結果 : check if a dictionary is not empty python