code: def batched(dataset):
      shape = nest.flatten(dataset_shape(dataset))[0]
      return len(shape) > 0 and shape[0] is None
  
file_path: autokeras/autokeras/utils/data_utils.py
imports: import numpy
  import tensorflow
  from tensorflow import nest
label_desc: Use image node_id 1 for calling a global function with example usage: batched(dataset) and returns: unknown