hasownproperty checks to see if an object has a local property ( not up the chain )