Python - how to check if array is not empty?
<p>How to check is the array is not empty? I did this:</p>

<blockquote>
  <p>if not self.table[5] is None:</p>
</blockquote>

<p>Is this the right way?</p>

<p>Thanks</p>
