It's gotta be the headlight switch right?

Had a situation with NO brake lights, checked everything, switch wiring, turned out to be a bit of corrosion on the ends of the glass fuses where breaking contact in the fuse panel. Removed & cleaned the fuses & all is good to go.