class_docstr: Checks only id
code: def check(self, value):
      assert (
          value.kind == MapRegionKind.id
          or value.kind == MapRegionKind.place
      )
      assert self.expected.values == value.values
  
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_map_region_with_id obj's underlying member method code with example usage: obj.check(value) without return types