title: How to check if listbox is empty?
body: <p>I want to do a check on a ListBox if it is empty, like:</p>
  
  <pre><code>if {Listbox.Items is empty} then
  begin
    Listbox.Items.Add('Item');
  end else
  begin
    //do somthing else
  end;
  </code></pre>
  
  <p>The part of the check if Listbox.Items or if Listbox are/is empty is a little hard for me. I tried to figure out a way how to do it, but I failed as I am still a beginner with Delphi. How can I implement that in Delphi XE5?</p>