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