Swift 3.0 binary operator '==' cannot be applied
<p>In Swift 3.0 I'm getting a weird error when I try to compare two items which are of type <code>[[String: AnyObject]]</code> and <code>[[String: AnyObject]]!</code>. So one of them is force unwrapped and the other is not.</p>

<p>So the comparison looks like:</p>

<pre><code>let smth: [[String: AnyObject]] = [["key": "Value"]]
let smth2: [[String: AnyObject]]?  = someFunctionThatReturnsAnOptionalArrayOfDictionaries()

if smth == smth2! {
    print("Equal")
}
</code></pre>

<p>The error says: <code>Binary operator '==' cannot be applied to operands of type '[[String : AnyObject]]' and '[[String : AnyObject]]!'</code></p>

<p>What is the correct way to do this in Swift 3?</p>