code: def test_is_terminated():
      assert RunStatus.is_terminated(RunStatus.FAILED)
      assert RunStatus.is_terminated(RunStatus.FINISHED)
      assert RunStatus.is_terminated(RunStatus.KILLED)
      assert not RunStatus.is_terminated(RunStatus.SCHEDULED)
      assert not RunStatus.is_terminated(RunStatus.RUNNING)
  
imports: import pytest
  from mlflow.entities import RunStatus
label_desc: Use image node_id 3 for calling a global function with example usage: test_is_terminated() without return types