containsConnection(object) {
    return this.redisConnections.some(function (element) {
      return ConnectionWrapper.isSameConnection(element.options, object);
    });
  }
check if a given connection object is already part of the connections list given as
 first parameter.
 For comparison of the connection objects the _isSameConnection method is used.

 @param {object} object connection object to search in list
 @return {boolean} true if this connection is found.