pub fn file_loaded(file: &str) -> boolExpand description
Is file (amsmath.sty, memoir.cls) loaded, as LaTeX asks it (\@ifpackageloaded, \@ifclassloaded: latex.ltx
\@ifl@aded, \ver@<file> defined and not \relax)? One answer on every load path: a binding’s load and a raw
file’s define the macro (Package.pm:2343, :2393), and so do a class’s or a document’s own marks (floatrow.sty:34,
\@namedef{ver@…}) and their removals (fontenc.sty’s tail, a document’s \let\ver@amsthm.sty\relax). Perl’s
\@ifl@aded reads the loader’s records (latex_constructs.pool.ltxml:946-953), which a binding may clear so that the
next request runs it again (load_recorded; aa.cls.ltxml:57): OXIDIZED_DESIGN_DIVERGENCES #1015.