結果 : how to check element exists in array of objects javascript