title: Find object with specific value in array
body: <p>I have an <strong>array</strong> of <strong>objects</strong> like this:</p>
  
  <pre><code>"users": [
     {
       "type": "User",
       "userId": "5b774905c2b2ac0f33ac4cc7",
       "name": "Mike"
     },
     {
       "type": "User",
       "userId": "5b77490f3084460f2986bd25",
       "name": "Pater"
     }
  ]
  </code></pre>
  
  <p>Now, I would like to check if my array contains an object with the name "Mike".</p>
  
  <p>How do I go about this in javascript?</p>
  
  <p>I am thinking something like this, but not sure how:</p>
  
  <pre><code>if ( "Mike" in users ) {
     // Do something...
  }
  </code></pre>
  
  <p>Hoping for help on this, and thanks in advance ;-)</p>