code: def test_shuffle_session_data(model_data: RasaModelData):
      before = copy.copy(model_data)
  
      # precondition
      assert np.all(
          np.array(list(before.values()))
          == np.array(list(model_data.values()))
      )
  
      data = model_data.shuffled_data(model_data.data)
  
      # check that original data didn't change
      assert np.all(
          np.array(list(before.values()))
          == np.array(list(model_data.values()))
      )
      # check that new data is different
      assert np.all(
          np.array(model_data.values()) != np.array(data.values())
      )
  
file_path: rasa/tests/utils/tensorflow/test_model_data.py
imports: import copy
  import pytest
  import numpy
  from rasa.utils.tensorflow.model_data import RasaModelData
label_desc: Use image node_id 1 for calling a global function with example usage: test_shuffle_session_data(model_data) without return types