title: How to return True if two-dimensional array in python has at least one True
body: <p>I'm trying to write a code which checks if 2D-array (consists of only boolean) has at least one True and return True if there is at least one True.</p>
  
  <p>I tried using <code>all()</code> function but couldn't come up with a solution. I assume what I need is opposite of what <code>all()</code> function does.</p>
  
  <pre class="lang-py prettyprint-override"><code>&gt;&gt;&gt; array1 = [[True, False], [False, False]]
  &gt;&gt;&gt; all([all(row) for row in array1)
  False # This should be True
  &gt;&gt;&gt; array2 = [[False, False], [False, False]]
  &gt;&gt;&gt; all([all(row) for row in array2)
  False # This is correct but this and array with all True is only working case.
  </code></pre>
  
  <p>For <code>array1 = [[True, False], [False, False]]</code>, I expect the output to be <code>True</code> since there is one <code>True</code> at <code>array1[0][0]</code>.</p>