validate = (shortId, rigorous = false) => {
      if (!shortId || typeof shortId !== 'string') return false;
      const isCorrectLength = selectedOptions.consistentLength
        ? shortId.length === shortIdLength
        : shortId.length <= shortIdLength;
      const onlyAlphabet = shortId.split('').every((letter) => useAlphabet.includes(letter));
      if (rigorous === false) return isCorrectLength && onlyAlphabet;
      return isCorrectLength && onlyAlphabet && uuidValidate(enlargeUUID(shortId, toHex));
    }
Confirm if string is a valid id. Checks length and alphabet.
If the second parameter is true it will translate to standard UUID
 and check the result for UUID validity.
@param {string} shortId - The string to check for validity
@param {boolean} [rigorous=false] - If true, also check for a valid UUID
@returns {boolean}