title: best way to check a empty array?
body: <p>How can I check an array recursively for empty content like this example:</p>
  
  <pre><code>Array
  (
      [product_data] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [title] =&gt; 
                      [description] =&gt; 
                      [price] =&gt; 
                  )
  
          )
      [product_data] =&gt; Array
          (
              [1] =&gt; Array
                  (
                      [title] =&gt; 
                      [description] =&gt; 
                      [price] =&gt; 
                  )
  
          )
  
  )
  </code></pre>
  
  <p>The array is not empty but there is no content.  How can I check this with a simple function?</p>
  
  <p>Thank!!</p>