結果 : check if dictionary is null or empty python