code: def assert_display_table(display: t.Sequence[t.Any]):
      assert_that(
          display,
          has_items(
              instance_of(str),
              instance_of(str),
              instance_of(pd.DataFrame),
          ),
      )
      table = display[2]
      assert_that(
          table.index.names, equal_to(["Observed Labels", "Sample IDs"])
      )
      assert_that(table.columns, equal_to(["Text"]))
  
imports: import typing
  import pandas
  import pytest
  from hamcrest import *
  from deepchecks.nlp.checks import ConflictingLabels
  from deepchecks.nlp.text_data import TextData
  from deepchecks.utils.strings import format_percent
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 8 for calling a global function with example usage: assert_display_table(display) without return types