code: def get_layer_spec(plot_spec, spec_name):
      return _standardize_plot_spec(plot_spec.as_dict())["layers"][
          0
      ].get(spec_name)
  
imports: import pandas
  import pytest
  from geopandas import GeoDataFrame
  from pandas import DataFrame
  from shapely.geometry import Point, Polygon, LinearRing, MultiPolygon
  from lets_plot._kbridge import _standardize_plot_spec
  from lets_plot.geo_data import DF_COLUMN_CITY, DF_COLUMN_STATE, DF_COLUMN_COUNTY
  from lets_plot.geo_data.geocoder import Geocoder
  from lets_plot.plot import ggplot, geom_polygon, geom_point, geom_map, geom_rect, geom_text, geom_path, geom_livemap
  from lets_plot.plot import util
  from geo_data_test_util import get_map_data_meta, assert_error
label_desc: Use image node_id 13 for calling a global function with example usage: get_layer_spec(plot_spec, spec_name) and returns: _standardize_plot_spec