Learner's definition of SOBRIETY
the state of not being drunk
The police tested him for sobriety. [=tested him to see if he was sober]
They did a sobriety test on him.
He has had 10 years of sobriety. [=he stopped drinking alchohol 10 years ago]
the quality of being serious