checkConfig() {
    try {
      fs.accessSync(this.configPath,  fs.constants.R_OK | fs.constants.W_OK);
    } catch (e) {
      /* istanbul ignore next */
      return false;
    }
    return true;
  }
/**
   * check if nginx config file accessible
   * @return {Boolean}
   */
check if nginx config file accessible
@return {Boolean}
check if nginx config file accessible @return { Boolean }
checkConfig() {
    try {
      fs.accessSync(this.configPath,  fs.constants.R_OK | fs.constants.W_OK);
    } catch (e) {
      return false;
    }
    return true;
  }
checkConfig ( ) { try { fs . accessSync ( this . configPath , fs . constants . R_OK | fs . constants . W_OK ) ; } catch ( e ) { return false ; } return true ; }
check if nginx config file accessible
 @return {Boolean}
check if nginx config file accessible @return { Boolean }
/* istanbul ignore next */