title: Check if ArrayCollection is empty
body: <p>I have an Entity Order which hold Suppliers in an Arraycollection.
  In my controller i want to check if this arraycollection is empty:</p>
  
  <pre><code>$suppliers = $order-&gt;getSuppliers();
  </code></pre>
  
  <p>I tried:  </p>
  
  <pre><code>if(!($suppliers)) {}
  if(empty($suppliers)) {}
  </code></pre>
  
  <p>Any ideas?</p>