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