code: def is_binary_like(data_type: pa.DataType) -> bool:
      """Returns true if an Arrow type is binary-like.
  
      Qualified types are {Large,}BinaryArray, {Large,}StringArray.
  
      Args:
        data_type: a pa.Array.
  
      Returns:
        bool.
      """
      return (
          pa.types.is_binary(data_type)
          or pa.types.is_large_binary(data_type)
          or pa.types.is_unicode(data_type)
          or pa.types.is_large_unicode(data_type)
      )
  
file_path: data-validation/tensorflow_data_validation/arrow/arrow_util.py
imports: from typing import Callable, Dict, Iterable, Optional, Text, Tuple
  import numpy
  import pyarrow
  from tensorflow_data_validation import types
  from tensorflow_data_validation.utils.example_weight_map import ExampleWeightMap
  from tfx_bsl.arrow import array_util
label_desc: Use image node_id 2 for calling a global function with example usage: is_binary_like(data_type) and returns: unknown