title: Check if number in numpy array is within range specified in another array
body: <p>Data</p>
  <pre><code>a = np.array([[0.5,1,50],[0.5,1,30]])
  b = np.array([[0.40,0.60],[0.75,2.0],[40,70]])
  </code></pre>
  <p>Expected results:</p>
  <pre><code>TRUE
  FALSE
  </code></pre>
  <p>If I only had few rows, a stupid way to do it would be:</p>
  <pre><code>if b[0][0] &lt;= a[0][0] &lt;=  b[0][1] and b[1][0] &lt;= a[0][1] &lt;=  b[1][1] and b[2][0] &lt;= a[0][2] &lt;=  b[2][1]:
      print(&quot;its b!!&quot;)
  </code></pre>