title: Check Is the array is empty in one line
body: <p>I have been asked recently to check if an array is empty or not in one line of code.</p>
  
  <p>My thought was to use <code>array.length==0</code>. But if the array is initialized like this,</p>
  
  <pre><code>int[] array = new int[5];
  </code></pre>
  
  <p>This will have array of size 5 and has '0' in every index.</p>
  
  <p>Can you please help me to find a one line code to check is it empty or not?</p>