Check for existing instance of the DOMPDF class