get enabled() {
    let prefs = Services.prefs.getBranch(SYNC_PREFS_BRANCH);
    return prefs.prefHasUserValue("username") &&
           prefs.prefHasUserValue("clusterURL");
  }
/**
   * Whether Sync appears to be enabled.
   *
   * This returns true if all the Sync preferences for storing account
   * and server configuration are populated.
   *
   * It does *not* perform a robust check to see if the client is working.
   * For that, you'll want to check Weave.Status.checkSetup().
   */
Whether Sync appears to be enabled.
This returns true if all the Sync preferences for storing account
and server configuration are populated.

It does *not* perform a robust check to see if the client is working.
For that, you'll want to check Weave.Status.checkSetup().
Whether Sync appears to be enabled . This returns true if all the Sync preferences for storing account and server configuration are populated . It does * not * perform a robust check to see if the client is working . For that you ' ll want to check Weave . Status . checkSetup () .
get enabled() {
    let prefs = Services.prefs.getBranch(SYNC_PREFS_BRANCH);
    return prefs.prefHasUserValue("username") &&
           prefs.prefHasUserValue("clusterURL");
  }
get enabled ( ) { let prefs = Services . prefs . getBranch ( SYNC_PREFS_BRANCH ) ; return prefs . prefHasUserValue ( "username" ) && prefs . prefHasUserValue ( "clusterURL" ) ; }
Whether Sync appears to be enabled.
Whether Sync appears to be enabled .