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