What's the difference between HasOwnProperty and this method?