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