code: def _check_visible_modules(actual, expected):
      assert set(actual) == set(
          expected
      ), "API mis-matched. Got %s, expected %s" % (
          actual,
          expected,
      )
  
imports: import coremltools
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: _check_visible_modules(actual, expected) without return types