function Loaded: Boolean;
Returns True after the PDF library DLL has been loaded into the process
The PDFium runtime must be loaded once per process; PDFium.LoadLibrary is called automatically on first Active := True
Unit-level function in PDFium; safe to call at any time, including before any TPdf instance exists
PDFium; can be called without creating a TPdf instance
if PDFium.Loaded then
Memo1.Lines.Add('Loaded = True')
else
Memo1.Lines.Add('Loaded = False');