結果 : check if object with id exists in array javascript