code: def is_pyarrow_string_dtype(dtype):
      """Is the input dtype a pyarrow string?"""
      if pa is None:
          return False
  
      if PANDAS_GE_150:
          pa_string_types = [
              pd.StringDtype("pyarrow"),
              pd.ArrowDtype(pa.string()),
          ]
      else:
          pa_string_types = [pd.StringDtype("pyarrow")]
      return dtype in pa_string_types
  
file_path: dask/dask/dataframe/_pyarrow.py
imports: from __future__ import annotations
  from functools import partial
  import pandas
  from packaging.version import Version
  from dask.dataframe._compat import PANDAS_GE_150, PANDAS_GE_200
  from dask.dataframe.utils import is_dataframe_like, is_index_like, is_series_like
label_desc: Use image node_id 1 for calling a global function with example usage: is_pyarrow_string_dtype(dtype) and returns: unknown, False