It depends on the switch family. Many have separate contacts for lamp and switch, so it's up to the circuit designer to decide when the lamp should light.
JDB.
[IMHO this is the most useful mode of operation, as the lamp can double as a diagnostic. I use it for Phantom, so the lamp will be on if and only if P48 is actually present]