title: CoffeeScript: search for an object with specific property value
body: <p>This is how to search for existence of value in array:</p>
  
  <pre><code>words = ["rattled", "roudy", "rebbles", "ranks"]
  alert "Stop wagging me" if "ranks" in words
  </code></pre>
  
  <p>I am looking for similar elegance in searching for existence of object with specified property value:</p>
  
  <pre><code>words = [
    { id: 1, value: "rattled" },
    { id: 2, value: "roudy" },
    { id: 3, value: "rebbles" },
    { id: 4, value: "ranks" }
  ]
  alert "Stop wagging me" if "ranks" in words.value
  </code></pre>
  
  <p>But the line at the bottom does not work.</p>