code: function checkConfig (config) {
      if (config) {
          if (!util.isObject(config)) {
              throw new CartoValidationError('\'config\' property must be an object.', CartoValidationErrorTypes.INCORRECT_TYPE);
          }
          _checkServerURL(config.serverURL);
      }
  }
docs: Check a valid config parameter.
  
  @param  {Object} config