code: def find_geo_names(obj) -> List[str]:
      if is_geocoder(obj):
          data = obj.get_geocodes()
      else:
          data = obj
  
      names = []
      if DF_COLUMN_CITY in data:
          names.append(DF_COLUMN_CITY)
      if DF_COLUMN_COUNTY in data:
          names.append(DF_COLUMN_COUNTY)
      if DF_COLUMN_STATE in data:
          names.append(DF_COLUMN_STATE)
      if DF_COLUMN_COUNTRY in data:
          names.append(DF_COLUMN_COUNTRY)
  
      return names
  
imports: from typing import List, Any
  from lets_plot.geo_data_internals.constants import DF_COLUMN_CITY, DF_COLUMN_COUNTY, DF_COLUMN_STATE, DF_COLUMN_COUNTRY
label_desc: Use image node_id 1 for calling a global function with example usage: find_geo_names(obj) and returns: names