title: check is Array empty or not (php)
body: <p>I am using Cakephp and try to customize the paginator result with some checkboxes .I was pass parameters in URL like this </p>
  
  <pre><code>"http://localhost/myproject2/browses/index/page:2/b.sonic:1/b.hayate:7/b.nouvo:2/b.others:-1/b.all:-2"
  </code></pre>
  
  <p>and cakephp translate URL to be the array like this </p>
  
  <pre><code>Array
  (
      [page] =&gt; 2
      [b.sonic] =&gt; 1
      [b.hayate] =&gt; 7
      [b.nouvo] =&gt; 2
      [b.others] =&gt; -1
      [b.all] =&gt; -2
  )
  </code></pre>
  
  <p>other time when I pass params without checking any checkbox.</p>
  
  <p>"http://localhost/myproject2/browses/index/page:2"</p>
  
  <p>and cakephp translate URL to be the array like this </p>
  
  <pre><code>Array
  (
      [page] =&gt; 2
  
  )
  </code></pre>
  
  <p>how to simple check if [b.????] is available or not? I can't use !empty() function because array[page] is getting on the way.</p>