code: def test_model_status():
      status = ModelStatus.Initialized
      assert not status.frozen()
      assert not status.completed()
      status = ModelStatus.Frozen
      assert status.frozen()
      assert not status.completed()
  
      assert status == "frozen"
      assert status != "initialized"
  
      status = ModelStatus.Trained
      assert status.frozen() and status.completed()
      status = ModelStatus.Interrupted
      assert status.frozen() and status.completed()
      status = ModelStatus.Failed
      assert status.frozen() and status.completed()
  
file_path: nni/test/ut/nas/space/test_executable_space.py
imports: import sys
  import pytest
  import nni
  from nni.mutable import *
  from nni.mutable.mutable import _mutable_equal
  from nni.nas.evaluator import FunctionalEvaluator, FrozenEvaluator
  from nni.nas.space import *
label_desc: Use image node_id 4 for calling a global function with example usage: test_model_status() without return types