how to check in an array whether it has a key:value or not?
<pre><code>  var people =[{title:'Alan', hasChild:true},
        {title:'Alice', hasDetail:true},
        {title:'Amos', header'A'},
        {title:'Alonzo'},
        {title:'Brad'},
        {title:'Brent'},    
        {title:'Billy'},    
        {title:'Brenda'},   
        {title:'Callie'},
        {title:'Cassie'},   
        {title:'Chris'}];
</code></pre>

<p>I want to check in this array, whether it contains a key,value <code>header:value</code> in it or not. I want to check this for each elements.</p>
