title: symfony2: how to check if form is new?
body: <p>I want to check if a form is new in my template, something like $form->isNew() in symfony 1.4, but i did not find a solution.</p>
  
  <p>Currently, i'm using this technique:</p>
  
  <pre><code>{% null != entity.getId %}
  </code></pre>
  
  <p>it works, but are there other solutions which are more clean?</p>