pub fn takes_optional_first(definition: &Stored) -> boolExpand description
Whether a definition takes an optional argument first whose default is not empty — [1][\proofname]
(amsthm.sty:431), [1][\thu@proof@name] (thuthesis.cls:4052): the shape of a copy of amsthm’s proof, whose
optional argument is the head’s text and whose default the name, which a lock that holds only against copies reads
(files_lock_holds). An empty default ([1][]) adds to a head of the file’s own (thmbox.sty:214
\proofname\ #1) or makes a command, not a proof environment (nccthm.sty:173 \newcommand*{\proof}[1][]).
A robust definition is judged by what it wraps, as owns_calls judges a robust binding: its own meaning is the
parameterless \protect \cs␣ (robust_wrapper_body), defined after the inner \cs␣ that takes the arguments
(\DeclareRobustCommand\proof[1][\proofname]{…}).