My understanding was that it has to be shown on wide body planes and this was after a couple of cases when people boarded the wrong flights and didn't realize until after pushback and also after that weird
HKG case 7 years ago when that young dude dressed in the old man mask managed to board and get to Canada wearing a disguise.
Supposedly a boarding pass check would have caught that guy