pub fn environment_end_hooks_ran() -> boolExpand description
Whether the open environment’s end hooks ran already, before the end of a command-form environment left open in it
(end_command_form_before_enclosing_end): read on that environment’s own frame, so a \begingroup left above
it (raa.cls) does not hide the flag, and an environment begun and ended inside a hook does not see it.