hasProperty and hasOwnProperty