fix android issue with `hasownproperty` calls