code: def _get_is_nondimensional_coords_dict(
      data_arrays: dict[str, xr.DataArray]
  ) -> dict[str, bool]:
      tokens = defaultdict(set)
      for data_arr in data_arrays.values():
          for coord_name in data_arr.coords:
              if (
                  not _is_lon_or_lat_dataarray(data_arr[coord_name])
                  and coord_name not in data_arr.dims
              ):
                  tokens[coord_name].add(
                      tokenize(data_arr[coord_name].data)
                  )
      return dict(
          [
              (coord_name, len(tokens) == 1)
              for coord_name, tokens in tokens.items()
          ]
      )
  
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 12 for calling a global function with example usage: _get_is_nondimensional_coords_dict(data_arrays) and returns: dict