Yes. It is used for decoding when a single line can be mapped into any combination of segment(s) ON. Therefore it is possible to make a 7-segment displays nearly most of he ASCII characters easily. Or have a random display that goes from "1" to "5" to "2" to "8"....etc. Note only the display changes and there is nothing related to the actual inputs which usually is sequential.
You can get some info here where an 8-gang dip switch is decoded into 1~8 on a 7-segment display. Only one switch is ON at a time.
Diode Matrix ROM intro (7-segment display)