handleRtlLanguage = () => {
    let rtlLanguages = globalObj._state._userConfig.language.rtl;
    let ccMain = globalObj._dom._ccMain;

    if (rtlLanguages && ccMain) {
        if (!isArray(rtlLanguages))
            rtlLanguages = [rtlLanguages];

        elContains(rtlLanguages, globalObj._state._currentLanguageCode)
            ? addClass(ccMain, 'cc--rtl')
            : removeClass(ccMain, 'cc--rtl');
    }
}
Toggle RTL class on/off based on current language