Check that the user-provided options to the `--stage` argument are valid before proceeding with the pipeline.
Check that the user-provided options to the
--stageargument are valid before proceeding with the pipeline.