The presence of a magnetic field can be detected by a:

Small mass

Magnetic compass

Stationary positive charge

Stationary negative charge