code: def assert_namesake(expected: Namesake, actual: Namesake):
      assert expected.name == actual.name
      for exp_parent, act_parent in zip(
          expected.parents, actual.parents
      ):
          assert_parent(exp_parent, act_parent)
  
file_path: lets-plot/python-package/test/geo_data/gis/assertions.py
imports: from lets_plot.geo_data.gis.request import RegionQuery, MapRegion
  from lets_plot.geo_data.gis.response import GeocodedFeature, GeoPoint, GeoRect, Namesake, NamesakeParent, AmbiguousFeature, Boundary
label_desc: Use image node_id 7 for calling a global function with example usage: assert_namesake(expected, actual) without return types