code: def _dask_expr_enabled() -> bool:
      import dask
  
      use_dask_expr = dask.config.get("dataframe.query-planning")
      if use_dask_expr:
          try:
              import dask_expr  # noqa: F401
          except ImportError:
              raise ValueError(
                  "Must install dask-expr to activate query planning."
              )
      return use_dask_expr
  
label_desc: Use image node_id 1 for calling a global function with example usage: _dask_expr_enabled() and returns: use_dask_expr