lib/legacy.js
/**
   * Checks whether backup settings are available.
   * @returns {Promise} true if backup settings are available.
   */
Checks whether backup settings are available.
@returns {Promise} true if backup settings are available.
Checks whether backup settings are available . @returns { Promise } true if backup settings are available .
async validate() {
    try {
      const data = await readJson(this.path);
      return isObject(data);
    } catch (e) {
      return false;
    }
  }
async validate ( ) { try { const data = await readJson ( this . path ) ; return isObject ( data ) ; } catch ( e ) { return false ; } }
Checks whether backup settings are available.
Checks whether backup settings are available .