code: def has_scope(
      self, scope_matcher: ScopeMatcher
  ) -> "GeocodingRequestAssertion":
      scope_matcher.check(self._request.scope)
      return self
  
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 4 for calling the GeocodingRequestAssertion obj's underlying member method code with example usage: obj.has_scope(scope_matcher) and returns: self