code: def test_optional_import():
      has_pytest, pyt = optional_import("pytest")
      assert has_pytest
      assert pyt == pytest
  
imports: import pytest
  from sacred.optional import optional_import, get_tensorflow, modules_exist
label_desc: Use image node_id 1 for calling a global function with example usage: test_optional_import() without return types