結果 : check if element exists in array of objects javascript