Compare list of dictionary in Robot Framework
<p>I have two list of list of dictionary and i want to compare the vale of first list dictionary to second list of dictionary</p>

<p>For example:</p>

<pre><code>Dictionary A contains [{Name:C}, {Name:A}, {Name:B}]
Dictionary B contains [{Name:A}, {Name:B}, {Name:C}]
</code></pre>

<p>How to take A's 1st Dictionary {Name:C} and check if it exists in Dictionary B. </p>

<p>You want to see if some list of dictionaries contains at least one dictionary that maps <code>'name': 'C'</code> ?</p>

<pre><code>any(d['name'] == 'C' for d in list_of_dict if 'name' in dict)
</code></pre>

python list dictionary robotframework