Strange Headlight problem

If you unplug the dimmer foot switch, doesn’t that disconnect power to both the high and the low beam headlights?
It's a technique/approach to identify where the electrical issue may lie.