code: def test_entry_points():
      entry_points = im.entry_points()
      assert "console_scripts" in entry_points
  
      flg_found = False
      for entry_point in entry_points["console_scripts"]:
          if (
              entry_point.name == "foo_cli"
              and entry_point.value == "foo_bar:cli"
          ):
              flg_found = True
  
      assert flg_found
  
file_path: catboost/library/python/runtime_py3/test/test_metadata.py
imports: import importlib.metadata
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_entry_points() without return types