is_promotable() function
Determine if a scenario can be promoted to become a primary scenario.
This function checks whether the given scenario is eligible to be promoted as a primary scenario.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
scenario |
Union[Scenario, ScenarioId]
|
The scenario to be evaluated for promotion. |
required |
Returns:
Type | Description |
---|---|
ReasonCollection
|
A ReasonCollection object that can function as a Boolean value, |
ReasonCollection
|
which is True if the given scenario can be promoted to be a primary scenario. False otherwise. |