</span> <span class="n">endif</span> <span class="o">%</span><span class="p">}</span>
</code></pre>
<h4 id='checking-for-existence-of-at-least-one-annotation' class='heading'>Checking for existence of at least one annotation:</h4>

<p>Sometimes it is desirable to only generate code if there&rsquo;s at least one field annotated.</p>
<pre class="highlight swift"><code><span class="p">{</span><span class="o">%</span> <span class="k">if</span> <span class="n">type</span><span class="o">.</span><span class="n">v