code: static boolean doesNotNeedBidi(char[] text, int start, int len) {
          for (int i = start, e = i + len; i < e; i++) {
              if (text[i] >= FIRST_RIGHT_TO_LEFT) {
                  return false;
              }
          }
          return true;
      }
docs: /* package