vantage6.common.task_status.has_task_finished#

has_task_finished(status)#

Check if task has finished or crashed

Parameters:

status (TaskStatus | str) – The status of the task

Returns:

True if task has finished or failed, False otherwise

Return type:

bool