Code: Select all
\ifpc@gopt@final\else%
…code that should not run when final is true…
\fi
More generally, many draft options are often useful for controlling logic within the document for which a parent uses a draft option. Also when defining a custom letterhead in the scrlttr2 class there are booleans for many items that may or may not be wanted in the letterhead.
(update) This thread gives useful options for many situations. But it does not completely answer the question because there are non-draft related booleans. And setting the draft boolean at the document class level can have widespread unwanted effects.