code: def assert_rect(expected: GeoRect, actual: GeoRect):
      if not _check_is_none(expected, actual):
          assert expected.start_lon == actual.start_lon
          assert expected.min_lat == actual.min_lat
          assert expected.end_lon == actual.end_lon
          assert expected.max_lat == actual.max_lat
  
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 3 for calling a global function with example usage: assert_rect(expected, actual) without return types