code: def test_is_frozen(self):
      script_data = ScriptData(
          "/path/to/some/script.py",
          False,
      )
  
      with pytest.raises(FrozenInstanceError):
          script_data.name = "bob"
  
file_path: streamlit/lib/tests/streamlit/runtime/script_data_test.py
imports: import unittest
  from dataclasses import FrozenInstanceError
  import pytest
  from streamlit.runtime.script_data import ScriptData
label_desc: Use image node_id 2 for calling the ScriptDataTest obj's underlying member method code with example usage: obj.test_is_frozen() without return types