code: def assert_display(display: t.Sequence[t.Any]):
      assert_that(
          display,
          has_items(
              instance_of(str),
              instance_of(str),
              instance_of(pd.io.formats.style.Styler),
          ),
      )  # type: ignore
  
      table = t.cast(pd.DataFrame, display[2])
      assert_that(
          sorted(table.columns),
          equal_to(sorted(["Sample IDs", "Number of Samples", "Text"])),
      )
  
file_path: deepchecks/tests/nlp/checks/data_integrity/text_duplicates_test.py
imports: import typing
  import pandas
  import pytest
  from hamcrest import *
  from deepchecks.core.check_result import CheckResult
  from deepchecks.nlp.checks import TextDuplicates
  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 6 for calling a global function with example usage: assert_display(display) without return types