async function conditionalFilesGenerationDeprecatedVersion (
  asyncapiDocument,
  templateConfig,
  matchedConditionPath,
  templateParams
) {
  return conditionalSubjectGeneration(asyncapiDocument, templateConfig, matchedConditionPath, templateParams);
}
Determines whether a file should be conditionally included based on the provided subject expression
and optional validation logic defined in the template configuration.
@private
@param {Object} asyncapiDocument - The parsed AsyncAPI document instance used for context evaluation.
@param {Object} templateConfig - The configuration object that contains `conditionalFiles` rules.
@param {string} matchedConditionPath - The path of the file/folder being conditionally generated.
@param {Object} templateParams - The parameters passed to the generator, usually user input or default values.
@returns {Boolean} - Returns `true` if the file should be included; `false` if it should be skipped.