title: Swift check if array of anyObject have value
body: <p>I have this array of anyObject that i use to read my JSON data downloaded.</p>
  
  <pre><code>datiArticolo!["anagrafica"]![linguaApp!]!!["img"]!!["path"]
  </code></pre>
  
  <p>The problem is that not always i have che ["img"] or/and ["path"] values.
  how can i check if there are and if not do another action?</p>