And of course I want to do this code-wise. It\'s not that there isn\'t alternative to this problem I\'m facing, just curious.
This will ignore attributes passed down through the prototype chain.
if(obj.hasOwnProperty('field')) { // Do something }