code: def check_level_names(index, names):
      assert [level.name for level in index.levels] == list(names)
  
file_path: pandas/pandas/tests/indexes/multi/test_names.py
imports: import pytest
  import pandas
  from pandas import MultiIndex
  import pandas._testing
label_desc: Use image node_id 1 for calling a global function with example usage: check_level_names(index, names) without return types