title: Python: Best way to check if a key value match exists between two dictionaries?
body: <p><strong>edit</strong>
  I have 2 list of dictionaries and I am trying to compare the value of a key in the dictionaries <code>list_1</code> to see if it that value exists in the value of a different key in the dictionaries <code>list_2</code> as I iterate through list_2.</p>
  <p><strong>Lists of Dictionaries</strong></p>
  <pre><code>list_1: {'Video ID': 12894, 'Title': 'Title 1'...}, {'Video ID': 128993, 'Title': 'Title 3'...}, {...}
  list_2: ('post_id': 12894, 'title': 'Title 2'...,} {'post_id': 128993, 'title': 'Title 5'...,}, {...}
  </code></pre>
  <p>I would like to see if value of key <code>Video ID</code> in the dictionaries of <code>list_1</code> match the value of the key <code>post_id</code> in the dictionaries of <code>list_2</code>.</p>
  <p>I am trying the code below from a post <a href="https://stackoverflow.com/questions/60439633/python-comparing-two-dictionaries-to-see-if-two-separate-values-match">here</a>, but I am getting confused on using the keys to access the correct value.</p>
  <p><em><strong>Code</strong></em></p>
  <pre><code>for s in dictionary_2:
      s = list(s.values())
      for f in dictionary_1:
          f = list(f.values())
          if f['Video Id'] in s and f['post_id'] in s:
              print(s)
  </code></pre>