def is_pipeline_running(pipeline_state: RunningState) -> bool:
    return pipeline_state.is_running()
def is_pipeline_stopped(pipeline_state: RunningState) -> bool:
    return not pipeline_state.is_running()