code: public static boolean generatePDF() {
          String generatePDF = getProgramProperty(GENERATE_PDF);
          if (generatePDF == null) {
              return false;
          }
          if ("".equals(generatePDF)) {
              return true;
          }
          return "true".equalsIgnoreCase(generatePDF);
      }
docs: Determines if we are supposed to generate a pdf of the results or not
  
  @return boolean: generate a pdf or not