How can the magnetic effect be used as a tester?

How can the magnetic effect be used as a tester ?
A. Dip the ends of the wire in the given liquid. If the magnetic compass shows deflection glows, it is a conductor, but if it does not deflect, it is an insulator.
how-can-the-magnetic-effect-be-used-as-a-tester-1