code: function extractStageFromQualifiedStreamName(qualifiedStreamName, context) {
    const stage = _extractStageFromQualifiedName(qualifiedStreamName, settingNames.extractStageFromStreamName, context);
    return isNotBlank(stage) ? stage :
      _extractNameAndStageFromQualifiedName(qualifiedStreamName, settingNames.extractNameAndStageFromStreamName, context)[1];
  }
docs: Extracts the stage from the given stage-qualified stream name (if non-blank and an extractStageFromStreamName
  function is configured); otherwise returns an empty string.
  
  This function uses the configured extractStageFromStreamName function (if any) on the given context to determine its
  actual behaviour.
  
  @param {string} qualifiedStreamName - the stage-qualified stream name
  @param {StageHandling|Object} context - the context to use with stage handling settings and logging functionality
  @returns {string} the stage extracted from the stage-qualified stream name or an empty string