Based on this answer I'm able to verify that an option was set to specific values. But how do I verify that an option was set in case the actual value doesn't matter. I.e. how do I make sure an option is actually set to some value?
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{testclass}[2017/02/14 v1.0 My test class]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
family=TEST,
prefix=TEST@
}
\DeclareStringOption{testoption}
\ProcessKeyvalOptions*
% ... how do I verify that testoption was set?