class ConvertUtils {

  public static boolean isHexString(String input) {
    if (input == null) {
      return false;
    }
    if (0 != input.length() % 2) {
      return false;
    }
    try {
      getBytesInternal(input);
      return true;
    } catch (DecoderException e) {
      return false;
    }
  }

  private  ConvertUtils();

}