During COVID-times I always travel in uniform to make the process easier. Off COVID I do it as well, mostly, for the same reason. Less hassle. Except for UK airports, where crew travelling in uniform seem to be put under special scrutiny at security check points. In other countries it is the opposite.
EDIT: ah, too slow, GC already answered it accordingly!