code: public static SanitizedContent filterSmsUri(String value) {
      if (EscapingConventions.FilterSmsUri.INSTANCE.getValueFilter().matcher(value).find()) {
        // NOTE: No need to escape. Escaping for other contexts (e.g. HTML) happen after this.
        return UnsafeSanitizedContentOrdainer.ordainAsSafe(value, ContentKind.URI);
      }
      logger.log(Level.WARNING, "|filterSmsUri received bad value ''{0}''", value);
      return UnsafeSanitizedContentOrdainer.ordainAsSafe(
          EscapingConventions.FilterSmsUri.INSTANCE.getInnocuousOutput(),
          SanitizedContent.ContentKind.URI);
    }
docs: Makes sure that the given input is a sms URI.