is_deletable() function
Check if a Scenario, a Job or a Submission can be deleted.
This function determines whether a scenario or a job can be safely deleted without causing conflicts or issues.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
entity
|
Union[Scenario, Job, Submission, ScenarioId, JobId, SubmissionId]
|
The scenario, job or submission to check. |
required |
Returns:
| Type | Description |
|---|---|
ReasonCollection
|
A ReasonCollection object that can function as a Boolean value, which is True if the given scenario, job or submission can be deleted. False otherwise. |