code: def assert_aligned(cell, tooltip):
      assert tooltip.location["x"] <= (
          cell.location["x"] + cell.size["width"]
      )
      assert (
          tooltip.location["x"] + tooltip.size["width"]
      ) >= cell.location["x"]
  
file_path: dash/components/dash-table/tests/selenium/test_tooltip.py
imports: import dash
  import math
  import pytest
  import time
  import dash.testing.wait
  from dash.dash_table import DataTable
label_desc: Use image node_id 1 for calling a global function with example usage: assert_aligned(cell, tooltip) without return types