def _must_contain_scenarios(must_contain_conf, scenario_model):
    """
    Return a set of scenarios and process names that are entries of must contain configuration.

    :param must_contain_conf: dict.
    :param scenario_model: ScenarioModel.
    :return: set of process names, set of Scenario objects.
    """
    names = set()
    scenarios = set()
    for entry in must_contain_conf:
        if entry in scenario_model.environment and scenario_model.environment[entry]:
            names.add(entry)
            scenarios.add(scenario_model.environment[entry])
    return names, scenarios