code: public static String checkLeadingZeros(String generated, boolean paddingOn) {
          if (paddingOn) {
              return replaceLeadingZero(generated);
          } else {
              return removeLeadingZeros(generated);
          }
          
      }
docs: Remove leading Zero numbers.
  @param generated
  @param paddingOn