title: Check for values in multidimensional input array
body: <p>I store values in a multi-dimensional hidden input array that looks like this:</p>
  
  <pre><code>&lt;input type="hidden" name="tokens[0][Search_Type]" value="a" /&gt;
  &lt;input type="hidden" name="tokens[0][Search_Term]" value="123" /&gt;
  &lt;input type="hidden" name="tokens[1][Search_Type]" value="b" /&gt;
  &lt;input type="hidden" name="tokens[1][Search_Term]" value="456" /&gt;
  </code></pre>
  
  <p>How can I quickly check whether there is a <code>token</code> with <code>Search_Term</code> = X and <code>Search_Type</code> = Y?  If there's a way to do it in one jquery line rather than in a loop that'd be awesome.</p>