As long as it actually has components inside it, it should be fine.
I'd always wondered about those first things for demagnetising.
An alternative is to heat the object above its Curie point - for steel that's about 770 Centigrade so not a real convenient alternative.