title: Expand a boolean variable to the string "true" or "false"
body: <p>In a freemarker template I want to expand a boolean variable to a string like that:</p>
  
  <pre><code>&lt;#assign booleanVar = "test".isEmpty() /&gt;
  state: ${booleanVar} &lt;#-- this throws an exception! --&gt;
  </code></pre>
  
  <p>This is what I want to get as output:</p>
  
  <pre><code>state: false
  </code></pre>
  
  <p>The only way I found to reach this goal by now is:</p>
  
  <pre><code>state: &lt;#if booleanVar&gt;true&lt;#else&gt;false&lt;/#if&gt;
  </code></pre>
  
  <p>Is there a easier way to do it?</p>