code: def _is_primitive(type_: "pyarrow.DataType") -> bool:
      """Whether the provided Array type is primitive (boolean, numeric, temporal or
      fixed-size binary)."""
      import pyarrow as pa
  
      return (
          pa.types.is_integer(type_)
          or pa.types.is_floating(type_)
          or pa.types.is_decimal(type_)
          or pa.types.is_boolean(type_)
          or pa.types.is_temporal(type_)
          or pa.types.is_fixed_size_binary(type_)
      )
  
imports: from dataclasses import dataclass
  import logging
  import os
  import sys
  from typing import List, Tuple, Optional, TYPE_CHECKING
label_desc: Use image node_id 12 for calling a global function with example usage: _is_primitive(type_) and returns: unknown