There's an indexOf option for arrays:
but in your case i don't think it would be possible to use it as it works with primitive values only (numbers and strings) in simple arrays, but it can't be used to search for an object within an array of objects like in your case.
Explanation here: