結果 : check if dictionary not empty python