Determining where hasOwnProperty originates from