Js Check If Array Object Contains Other Objects