code: def _validate_display_precision(value):
      if value is not None:
          if not isinstance(value, int) or not (0 <= value <= 16):
              raise ValueError(
                  "Invalid value, needs to be an integer [0-16]"
              )
  
file_path: geopandas/geopandas/_config.py
imports: from collections import namedtuple
  import textwrap
label_desc: Use image node_id 1 for calling a global function with example usage: _validate_display_precision(value) without return types