code: def _is_projected(data_arr: xr.DataArray) -> bool:
      """Guess whether data are projected or not."""
      crs = _try_to_get_crs(data_arr)
      if crs:
          return crs.is_projected
      units = _try_get_units_from_coords(data_arr)
      if units:
          if units.endswith("m"):
              return True
          if units.startswith("degrees"):
              return False
      logger.warning(
          "Failed to tell if data are projected. Assuming yes."
      )
      return True
  
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 2 for calling a global function with example usage: _is_projected(data_arr) and returns: True, crs, True, False