use #hasOwnProperty to inspect key