code: def search_location_check(cls, location):
          
          if not (isinstance(location, Mapping) and set(location.keys()) == _LOCATION_SEARCH_ARGS):
              raise ValueError('Search location should be mapping with keys: %s' % _LOCATION_SEARCH_ARGS)
  
          cls.location_check(location['lat'], location['long'])
          radius = location['radius']
          if not (isinstance(radius, number_types) and 0 < radius <= 20038):  # half circumference
              raise ValueError("Radius: '{radius}' is invalid".format(radius=radius))
docs: Core.Client.request_search location parameter should be a dictionary that contains lat, lon and radius floats