code: def boolean_generator(size):
      """
      Generator for bool data
      """
      return lambda: np.random.choice(a=[False, True], size=size)
  
imports: import copy
  import random
  import string
  import uuid
  from multiprocessing import Pool
  import numpy
  import pandas
  import pyarrow
  from pyarrow import parquet
  import cudf
  from cudf.utils.dtypes import np_to_pa_dtype
label_desc: Use image node_id 10 for calling a global function with example usage: boolean_generator(size) and returns: function