docs: public static boolean hasFOPInstalled() {
      try {
        Class<?> c1 = Class.forName("org.apache.fop.svg.PDFTranscoder");
        Class<?> c2 = Class.forName("org.apache.fop.render.ps.PSTranscoder");
        Class<?> c3 = Class.forName("org.apache.fop.render.ps.EPSTranscoder");
        return (c1 != null) && (c2 != null) && (c3 != null);
      }
      catch(ClassNotFoundException e) {
        return false;
      }
    }