title: Check if collection contains a value
body: <p>I have the relationships set up (correctly i think).. I have 3 tables, users, comments, and comments' likes table. </p>
  
  <p>In my blade, I can access <code>{{ $comment-&gt;commentLikes }}</code> with this and it's returning me:</p>
  
  <pre><code>[{"id":85,"comment_id":12,"user_id":1,"action":1},
  {"id":86,"comment_id":12,"user_id":3,"action":1},
  {"id":87,"comment_id":12,"user_id":4,"action":1},
  {"id":88,"comment_id":12,"user_id":6,"action":1},
  {"id":89,"comment_id":12,"user_id":9,"action":1}]
  </code></pre>
  
  <p><code>user_id</code> represents owner of the like.</p>
  
  <p>Now I want to check if this collection has the authenticated user, in other words if the current user liked this comment or not.. Is there a way to do that rather than using a for loop?  Maybe something like <code>{{ $comment-&gt;commentLikes-&gt;owner }}</code> so that I can use</p>
  
  <p>'if (this) contains <code>Auth::user-&gt;id()</code>'...</p>