code: def assert_level_reference(frame, levels, axis):
      for level in levels:
          assert frame._is_level_reference(level, axis=axis)
          assert not frame._is_label_reference(level, axis=axis)
          assert frame._is_label_or_level_reference(level, axis=axis)
  
imports: import pytest
  from pandas.core.dtypes.missing import array_equivalent
  import pandas
label_desc: Use image node_id 6 for calling a global function with example usage: assert_level_reference(frame, levels, axis) without return types