結果 : check if object is present in array of objects javascript