Compass on Hud

good morning everyone… I can’t find the answer to this question: before take off, how can I know if my compass is OK or disturbed?

In Mission Planner, EKF on Hud also shows compass bar but usually it’s at zero so I assume it’s ok.

Can you confirm that based on geomagnetic disturbances or variations, the bar increases by changing colour?