title: How to determine if Javascript array contains an object with an attribute that equals a given value?
body: <p>I have an array like</p>
  <pre><code>vendors = [{
      Name: 'Magenic',
      ID: 'ABC'
    },
    {
      Name: 'Microsoft',
      ID: 'DEF'
    } // and so on... 
  ];
  </code></pre>
  <p>How do I check this array to see if &quot;Magenic&quot; exists? I don't want to loop, unless I have to. I'm working with potentially a couple thousand records.</p>