code: def test_regular_visiondata_with_shuffle():
      vision_data = load_dataset(
          object_type="VisionData",
          use_iterable_dataset=False,
          n_samples=100,
          shuffle=False,
      )
      batch = next(iter(vision_data))
      vision_data_again = load_dataset(
          object_type="VisionData",
          use_iterable_dataset=False,
          n_samples=100,
          shuffle=False,
      )
      batch_again = next(iter(vision_data_again))
      vision_data_shuffled = load_dataset(
          object_type="VisionData",
          use_iterable_dataset=False,
          n_samples=100,
          shuffle=True,
      )
      batch_shuffled = next(iter(vision_data_shuffled))
      vision_data_shuffled_again = load_dataset(
          object_type="VisionData",
          use_iterable_dataset=False,
          n_samples=100,
          shuffle=True,
      )
      batch_shuffled_again = next(iter(vision_data_shuffled_again))
  
      assert_that(
          batch["labels"], is_not(equal_to(batch_shuffled["labels"]))
      )
      assert_that(batch["labels"], equal_to(batch_again["labels"]))
      assert_that(
          batch_shuffled_again["labels"],
          is_not(equal_to(batch_shuffled["labels"])),
      )
  
file_path: deepchecks/tests/vision/datasets/test_mnist_torch.py
imports: import time
  from hamcrest import assert_that, calling, equal_to, instance_of, is_not, raises
  from torch.utils.data import DataLoader
  from deepchecks.vision import VisionData
  from deepchecks.vision.datasets.classification.mnist_torch import MNIST_DIR, MODEL_PATH, MnistModel, load_dataset, load_model
label_desc: Use image node_id 8 for calling a global function with example usage: test_regular_visiondata_with_shuffle() without return types