結果 : check if object is in array of objects javascript