if array undefined
<p>How do I check if an array is undefined?
I am using <code>isset</code> and <code>empty</code> but both of them are not working for an undefined array.</p>

<p>This is my code:</p>

<pre><code>if (isset($content['menu']['main'])){
    echo 'there is menu';               
}
</code></pre>
