code: def check_table_names(dash_duo, names, table_id="table"):
      dash_duo.wait_for_text_to_equal(
          "#{} .column-0 .column-header-name".format(table_id), names[0]
      )
      headers = dash_duo.find_elements(
          "#{} .column-header-name".format(table_id)
      )
      assert len(headers) == len(names)
  
      for i, n in enumerate(names):
          name_el = dash_duo.find_element(
              "#{} .column-{} .column-header-name".format(table_id, i)
          )
          assert name_el.text == n
  
imports: from multiprocessing import Value
  import pytest
  import time
  from selenium.webdriver.common.keys import Keys
  import dash
  from dash import Dash, Input, Output, State, MATCH, dcc, html, dash_table
  from dash_test_components import MyPersistedComponent
  from dash_test_components import MyPersistedComponentNested
label_desc: Use image node_id 6 for calling a global function with example usage: check_table_names(dash_duo, names, table_id) without return types