title: Cannot convert value of type 'Option' to expected argument type '@noescape (Option) throws -> Bool'
body: <p>I have a class called <code>Option</code>. This is a Realm object so it's a subclass of Realm's own base class <code>Object</code>.</p>
  
  <p>In a view controller I have an array  property that holds a bunch of <code>Option</code> objects.</p>
  
  <pre><code>private var options = [Option]()
  </code></pre>
  
  <p>In a method down the view controller, I need to check if a certain <code>Option</code> object is contained within the aforementioned options array.</p>
  
  <p>Previously (Swift 1.2), I have the checking logic like this.</p>
  
  <pre><code>func itemSelected(selection: Object) {
      let option = selection as! Option
  
      if !contains(options, option) {
          // act accordingly
      }
  }
  </code></pre>
  
  <p>Now I'm converting the project to Swift 2 (I have updated the Realm's version to Swift 2 version as well). I updated the code to this.</p>
  
  <pre><code>func itemSelected(selection: Object) {
      let option = selection as! Option
  
      if !options.contains(option) {
          // act accordingly
      }
  }
  </code></pre>
  
  <p>But now I'm getting the following compile error!</p>
  
  <p><strong>Cannot convert value of type 'Option' to expected argument type '@noescape (Option) throws -> Bool'</strong></p>
  
  <p>I can't figure out why. Any ideas?</p>