get fxAccountsEnabled() {
    try {
      // Old sync guarantees '@' will never appear in the username while FxA
      // uses the FxA email address - so '@' is the flag we use.
      let username = Services.prefs.getCharPref(SYNC_PREFS_BRANCH + "username");
      return !username || username.contains('@');
    } catch (_) {
      return true; // No username == only allow FxA to be configured.
    }
  }
/**
   * Whether Firefox Accounts is enabled.
   *
   * @return bool
   */
Whether Firefox Accounts is enabled.
@return bool
Whether Firefox Accounts is enabled . @return bool
get fxAccountsEnabled() {
    try {
      let username = Services.prefs.getCharPref(SYNC_PREFS_BRANCH + "username");
      return !username || username.contains('@');
    } catch (_) {
      return true; 
    }
  }
get fxAccountsEnabled ( ) { try { let username = Services . prefs . getCharPref ( SYNC_PREFS_BRANCH + "username" ) ; return ! username || username . contains ( '@' ) ; } catch ( _ ) { return true ; } }
Whether Firefox Accounts is enabled.
Whether Firefox Accounts is enabled .
// Old sync guarantees '@' will never appear in the username while FxA // uses the FxA email address - so '@' is the flag we use. // No username == only allow FxA to be configured.