isAttenuationDefinition = allegedDefinition => {
  return Boolean(
    (allegedDefinition &&
      typeof allegedDefinition === 'object' &&
      typeof allegedDefinition[ATTENUATOR_KEY] === 'string') || // object with attenuator name
      isArray(allegedDefinition), // params for default attenuator
  );
}
Type guard for `AttenuationDefinition`
@param {unknown} allegedDefinition
@returns {allegedDefinition is import('./types.js').AttenuationDefinition}