function shouldSkipInstrumentation(config) {
  return !config?.ai_monitoring?.enabled === true
}
Helper to determine if we should instrument the bedrock middleware call

@param {Object} config agent configuration
@returns {boolean} to instrument or not to instrument