結果 : check if an object is present in array javascript