title: Check if dictionary value is empty in html template in Django/python notation
body: <p>I am sending a context dictionary to an html page but I don't know how to perform an if statement on a specific value in the dictionary. This is what I'm doing.</p>
  
  <p>In views where I'm calling a view method I am returning:</p>
  
  <pre><code>return render(request, 'shop/register.html', {'errors': errors, 'data': data})
  </code></pre>
  
  <p>where <code>errors</code> and <code>data</code> are also dictionaries themselves.</p>
  
  <p>So in the html template how can I access one of the values in the <code>errors</code> field?</p>
  
  <p>I tried doing this but it's not working:</p>
  
  <pre><code>{% if errors.username_error %} //should check if that value is not blank
      &lt;h3&gt;{{errors.username_error}}&lt;/h3&gt;  //display error message
  {% endif %}
  </code></pre>