code: def is_primitive(t):
      return lib._is_primitive(t.id)
  
imports: from pyarrow.lib import is_boolean_value, is_integer_value, is_float_value
  import pyarrow.lib
  from pyarrow.util import doc
label_desc: Use image node_id 47 for calling a global function with example usage: is_primitive(t) and returns: lib