title: Can't use method "contains" in Swift 2
body: <p>I am using Swift 2. </p>
  
  <p>I used this code: </p>
  
  <pre><code>while contains(currentCardValues, randomNumber + 1) {
  </code></pre>
  
  <p>I am getting this error:</p>
  
  <blockquote>
    <p>"contains" is unavailable: call the contains() method on the
    sequence</p>
  </blockquote>