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