code: def _validate_bool(value):
      if not isinstance(value, bool):
          raise TypeError(
              "Expected bool value, got {0}".format(type(value))
          )
  
file_path: geopandas/geopandas/_config.py
imports: from collections import namedtuple
  import textwrap
label_desc: Use image node_id 2 for calling a global function with example usage: _validate_bool(value) without return types