Function isRTL

Checks whether first directional character is RTL. Meaning whether it starts with RTL characters, or indeterminate (numbers etc.) characters followed by RTL. See https://github.com/excalidraw/excalidraw/pull/1722#discussion_r436340171