check if an object item value is equal to any of the object array code example
Example 1: angular list contains property
vendors.filter(function(vendor){ return vendor.Name === "Magenic" })
Example 2: check object in array javascript
var obj = {a: 5};
var array = [obj, "string", 5]; // Must be same object
array.indexOf(obj) !== -1 // True