docs: function moduleExists(name) {
    //TODO: Check that the file exists before trying to require it.
    try {
      require.resolve(name);
    }
    catch (err) {
      this.server.emit('error', err);
      return false;
    }
    return true;
  }