You probably want to check for hasownproperty