code: def _warn_if_pretty_but_not_unique(pretty, coord_name):
      """Warn if coordinates cannot be pretty-formatted due to non-uniqueness."""
      if pretty:
          warnings.warn(
              f'Cannot pretty-format "{coord_name}" coordinates because they are '
              "not identical among the given datasets",
              stacklevel=2,
          )
  
imports: from __future__ import annotations
  import logging
  import warnings
  from collections import defaultdict
  from contextlib import suppress
  import numpy
  import xarray
  from dask.base import tokenize
  from pyproj import CRS
  from pyresample.geometry import AreaDefinition, SwathDefinition
label_desc: Use image node_id 13 for calling a global function with example usage: _warn_if_pretty_but_not_unique(pretty, coord_name) without return types