Test wires using magnets?

There's a device that us electricians use that when you put it up against a wire it'll light up saying there's voltage running through the wire. Looks like a pen but bigger.