keras/src/trainers/data_adapters/py_dataset_adapter.py/PyDatasetEnqueuer/is_running
class PyDatasetEnqueuer:    def is_running(self):
        return self.stop_signal is not None and not self.stop_signal.is_set()