Dictionary contains a certain value swift 3
<p>I want to check if a string exists in any of the values in my Dictionary </p>

<pre><code>Dictionary&lt;String, AnyObject&gt;
</code></pre>

<p>I know arrays has .contains so I would think a dictionary does too. Xcode tells me to use the following when I start typing contains</p>

<pre><code>countDic.contains(where: { ((key: String, value: AnyObject)) -&gt; Bool in
            &lt;#code#&gt;
        })
</code></pre>

<p>I just don't understand how to use this I know inside I need to return a Bool, but I don't understand where I put what String I'm looking for.  Any help would be great.</p>