code: def test_is_in_4d_format(model_data: RasaModelData):
      assert (
          model_data.data["action_text"]["sequence"][
              0
          ].number_of_dimensions
          == 4
      )
      assert (
          model_data.data["text"]["sentence"][0].number_of_dimensions
          == 3
      )
  
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 9 for calling a global function with example usage: test_is_in_4d_format(model_data) without return types