code: static boolean requireLeftAlignment(String reference, String alternate) {
          return StringUtils.isEmpty(reference) ||
                  StringUtils.isEmpty(alternate) ||
                  reference.charAt(reference.length() - 1) ==
                          alternate.charAt(alternate.length() - 1);
      }
docs: Reference and alternate are either empty or last base from each is equal
  @param reference
  @param alternate
  @return