code: function isInvalidConfiguration(config) {
    return R.compose(
      R.any(R.either(R.isNil, R.isEmpty))
    , R.values
    , R.pickAll(['url', 'port'])
    , R.propOr({}, 'server')
    )(config)
  }
docs: Verify if the configuration object has necessary url and port for connecting to the CouchDb. Username and password are optional. :: Config -> Boolean