keras/src/trainers/data_adapters/py_dataset_adapter.py/OrderedEnqueuer/__init__
class OrderedEnqueuer:    def __init__(self, py_dataset, use_multiprocessing=False, shuffle=False):
        super().__init__(py_dataset, use_multiprocessing)
        self.shuffle = shuffle