title: Get value if key exists in list of dictionary
body: <p>I have a python list like</p>
  
  <pre><code>[{'month': 8, 'total': 31600.0}, {'month': 9, 'total': 2000.0}]
  </code></pre>
  
  <p>and want to generate it like</p>
  
  <pre><code>[
    {'month': 1, 'total': 0},
    {'month': 2, 'total': 0},
    ...
    {'month': 8, 'total': 31600},
    {'month': 9, 'total': 2000},
    ...
    {'month': 12, 'total': 0}
  ]
  </code></pre>
  
  <p>for that, I'm running iteration on the range <code>(1,13)</code></p>
  
  <pre><code>new_list = []
  for i in range(1, 13):
    # if i exists in month, append to new_list
    # else add total: 0 and append to new_list
  </code></pre>
  
  <p>How can I check if <strong>i</strong> exists in <strong>month</strong> and get the dictionary?</p>