結果 : check if a value exists in an array of objects javascript