title: Scalatest: how to check if a collection contains element that satisfies certain criteria
body: <p>Say I have a list of books:</p>
  
  <pre><code>val books = List(
      Book(title="Foo", year=2014),
      Book(title="Bar", year=2014))
  </code></pre>
  
  <p>How to check with a single expression if collection <code>books</code> is not empty and only contains books published in 2014?</p>