code: def get_custom_geojson(geojson_id=None):
      global CUSTOM_GEOJSON
  
      if geojson_id is None:
          return CUSTOM_GEOJSON
      return next(
          (ct for ct in CUSTOM_GEOJSON if ct["key"] == geojson_id), None
      )
  
file_path: dtale/dtale/dash_application/custom_geojson.py
imports: import base64
  import json
  import pandas
  import dash_bootstrap_components
  from dash.dependencies import Input, Output, State
  from dtale.dash_application import dcc, html
  from dtale.dash_application.exceptions import DtalePreventUpdate
  from dtale.dash_application.layout.utils import build_input, build_option
  from dtale.translations import text
label_desc: Use image node_id 1 for calling a global function with example usage: get_custom_geojson(geojson_id) and returns: next, CUSTOM_GEOJSON