code: def check(self, value):
      assert type(self.expected) == type(value), "{} != {}".format(
          type(self.expected), type(value)
      )
      assert self.expected == value, "{} != {}".format(
          self.expected, value
      )
  
imports: from typing import TypeVar, Generic, Optional, List, Union
  from lets_plot.geo_data.gis.geometry import GeoRect, GeoPoint
  from lets_plot.geo_data.geocodes import _ensure_is_list
  from lets_plot.geo_data.gis.request import Request, GeocodingRequest, RegionQuery, MapRegion, AmbiguityResolver, PayloadKind, MapRegionKind, IgnoringStrategyKind, LevelKind
label_desc: Use image node_id 2 for calling the eq obj's underlying member method code with example usage: obj.check(value) without return types