title: Check if a specific value exists at a specific key in any subarray of a multidimensional array
body: <p>I need to search a multidimensional array for a specific value in any of the indexed subarrays.</p>
  
  <p>In other words, I need to check a single column of the multidimensional array for a value.  If the value exists anywhere in the multidimensional array, I would like to return <code>true</code> otherwise <code>false</code></p>
  
  <pre><code>$my_array = array(    
      0 =&gt;  array(  
          "name"   =&gt; "john",  
          "id"    =&gt;  4  
      ),  
      1   =&gt;  array(  
          "name" =&gt;  "mark",  
          "id" =&gt; 152  
      ), 
      2   =&gt;  array(  
          "name" =&gt;  "Eduard",  
          "id" =&gt; 152  
      )
  );
  </code></pre>
  
  <p>I would like to know the fastest and most efficient way to check if the array <code>$my_array</code> contains a value with the key "id".  For example, if <code>id =&gt; 152</code> anywhere in the multidimensional array, I would like <code>true</code>.</p>