docs: public static boolean isRtlLanguage(String locale) {
      try {
        return UScript.isRightToLeft(
            UCharacter.getPropertyValueEnum(
                UProperty.SCRIPT, ULocale.addLikelySubtags(new ULocale(locale)).getScript()));
      } catch (IllegalArgumentException e) {
        return false;
      }
    }