Get a key from a dictionary safely in robot framework
<p>I'd have a library with a single function to safely get a key from a dictionary.  Is this possible inside a test suite?</p>

<pre><code>def safe_get(dict_obj, key):
    val = dict_obj.get(key)
    if val is None:
        val = {}
    return val
</code></pre>

<p>Is there a way to do this using something like <code>Run_Keyword_If</code> or <code>Set_Variable_If</code>?</p>