Using plistlib to see if key exists
<p>How can I check with plistlib to see if a key value is valid, or whether a key exists?
I tried:</p>

<pre><code>if result['Tags'] != "":
    dtags = result["Tags"]
    dotags = '#' + ' #'.join(dtags)
else:
    dotags = ""
</code></pre>

<p>and it simply returned the error:</p>

<pre><code>KeyError: 'Tags'
</code></pre>

<p>Thank you</p>
