code: def test_lazy_imports():
      # Check that when statsmodels.api is imported, matplotlib is _not_ imported
      cmd = (
          "import statsmodels.api as sm; "
          "import sys; "
          "mods = [x for x in sys.modules if 'matplotlib.pyplot' in x]; "
          "assert not mods, mods"
      )
      cmd = sys.executable + ' -c "' + cmd + '"'
      p = subprocess.Popen(cmd, shell=True, close_fds=True)
      p.wait()
      rc = p.returncode
      assert rc == 0
  
imports: import subprocess
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: test_lazy_imports() without return types