code: public static boolean isRange(String value) {
          if (value == null) {
              return false;
          }
          try {
              Set<Integer> values = parseRange(value);
              return values.size() > 0;
          } catch (Exception e) {
              return false;
          }
      }
docs: Returns whether passed value is a range
  @param value string to process
  @return true if range, false otherwise