結果 : check if an object exists in an array javascript