Below is my snippet, how can I check in the array of json objects if there's a "status" of "DISCONNECTED"?

I tried,

```
if(data[].status["DISCONNECTED"].length){
    console.log(true);
}

```

but seems not working, any ideas, help, clues, suggestions, recommendations please?

```js
$(document).ready(function(){
  var data = [{"b_id":1,"name":"t1","status":"CONNECTED"},{"b_id":3,"name":"t2","status":"DISCONNECTED"},{"b_id":4,"name":"t3","status":"CONNECTED"},{"b_id":5,"name":"t4","status":"CONNECTED"},{"b_id":6,"name":"t5","status":"CONNECTED"}];

  $.each(data,function(index,value){
    console.log(value.status);
  });

});
```

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
```