code: public static boolean isUUID(BufferedString str) {
      boolean res;
      int old = str.getOffset();
      attemptUUIDParseLow(str);
      attemptUUIDParseHigh(str);
      res = str.getOffset() != -1;
      str.setOff(old);
      return res;
    }
docs: Confirms whether the provided UUID is considered
  valid.
  
  @param str
  @return TRUE if str represents a valid UUID