code: public static boolean isRtl() {
          if (sEnable && Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
              return View.LAYOUT_DIRECTION_RTL == TextUtils.getLayoutDirectionFromLocale(Locale.getDefault());
          }
  
          return false;
      }
docs: In Rtl env or not.
  @return true if in Rtl env.