code: def _arrow_supports_extension_scalars():
      """
      Whether Arrow ExtensionScalars are supported in the current pyarrow version.
  
      This returns True if the pyarrow version is 8.0.0+, or if the pyarrow version is
      unknown.
      """
      # TODO(Clark): Remove utility once we only support Arrow 8.0.0+.
      return (
          PYARROW_VERSION is None
          or PYARROW_VERSION >= MIN_PYARROW_VERSION_SCALAR
      )
  
imports: import itertools
  import json
  import sys
  from typing import Iterable, Optional, Tuple, List, Sequence, Union
  from packaging.version import parse
  import numpy
  import pyarrow
  from ray.air.util.tensor_extensions.utils import _is_ndarray_variable_shaped_tensor, create_ragged_ndarray
  from ray._private.utils import _get_pyarrow_version
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 1 for calling a global function with example usage: _arrow_supports_extension_scalars() and returns: unknown