def METHOD_NAME(self, dl: DataLoader, dataset_cls: Type[Dataset] = CityscapesDataset):
    self.assertTrue(isinstance(dl, DataLoader))
    self.assertTrue(isinstance(dl.dataset, dataset_cls))
    it = iter(dl)
    for _ in range(10):
        next(it)