Earlier quoted context omitted.
I'm curious. What's in between nothing and checking id?
Just my own thoughts: there could theoretically be an identity system that simply replies "Yes/No" if someone is underage or not. But nothing like this exists to my knowledge.
The problem is, every data provider has to get on board first. For instance, the city you live in can verify if you're over eighteen. If their IT can handle setting the bit 'over eighteen' in the IRMA app, you can securely and verifiably show this bit of information, and only this piece of information, to the party asking to verify this information. They have to support IRMA too though.
But even then, if I'm under age and just borrow your phone...