title: Go Template if value is set and is false
body: <p>I am using <a href="https://listmonk.app/docs/templating/" rel="nofollow noreferrer">Listmonk</a> which utilizes Go Templates. I have a situation where a variable for user status (<code>.Subscriber.Attribs.Pro</code>) may exist (and if it does, it is <code>true</code> or <code>false</code>. I want to display a block of text only if the value exists.</p>
  <p>The code I have works if the <code>Pro</code> attribute is set. However if it is not set, it will be processed as <code>not ''</code> which leads to a value of <code>true</code>.</p>
  <pre><code>{{ if not .Subscriber.Attribs.Pro }}
    You are not a Pro user!
  {{ end }}
  </code></pre>
  <p>How do I have this code run only if the <code>Pro</code> attribute is explicitly set to <code>false</code></p>