static isStringInRange(str, opt_radix) {
    var radix = opt_radix || 10;
    if (radix < 2 || 36 < radix) {
      throw new Error('radix out of range: ' + radix);
    }

    var extremeValue = (str.charAt(0) == '-') ? MIN_VALUE_FOR_RADIX_[radix] :
                                                MAX_VALUE_FOR_RADIX_[radix];

    if (str.length < extremeValue.length) {
      return true;
    } else if (str.length == extremeValue.length && str <= extremeValue) {
      return true;
    } else {
      return false;
    }
  }
Returns the boolean value of whether the input string is within a Long's
range. Assumes an input string containing only numeric characters with an
optional preceding '-'.
@param {string} str The textual representation of the Long.
@param {number=} opt_radix The radix in which the text is written.
@return {boolean} Whether the string is within the range of a Long.