code: function fromEnvironment(config) {
    config.port = config.port || process.env.AWS_CSM_PORT;
    config.enabled = config.enabled || process.env.AWS_CSM_ENABLED;
    config.clientId = config.clientId || process.env.AWS_CSM_CLIENT_ID;
    return config.port && config.enabled && config.clientId ||
      ['false', '0'].indexOf(config.enabled) >= 0; //no need to read shared config file if explicitely disabled
  }
docs: Resolve configurations from environmental variables.
  @param {object} client side monitoring config object needs to be resolved
  @returns {boolean} whether resolving configurations is done
  @api private