function autoDetection(name) {
      const lang = getLanguage(name);
      return lang && !lang.disableAutodetect;
    }
Determines if a given language has auto-detection enabled
@param {string} name - name of the language