use "has" instead of home rolled hasOwnProperty wrapper