code: def _validate_io_engine(value):
      if value is not None:
          if value not in ("pyogrio", "fiona"):
              raise ValueError(
                  f"Expected 'pyogrio' or 'fiona', got '{value}'"
              )
  
file_path: geopandas/geopandas/_config.py
imports: from collections import namedtuple
  import textwrap
label_desc: Use image node_id 3 for calling a global function with example usage: _validate_io_engine(value) without return types