existsByName(name) {
    var _this = this;
    return _this.list()
      .then((connections) => {
        return new Promise((resolve) => {
          var existingConnection = _.findWhere(connections, {
            name: name
          });

          return resolve(existingConnection ? true : false);
        });
      });
  }
Check if a connection exists by name
@param {String} name