code: def test_state_dict(self):
      state_dict_1 = self.dataset.state_dict()
      assert np.equal(
          state_dict_1["labelled"], np.full((100,), False)
      ).all()
  
      self.dataset.label(0)
      assert np.equal(
          state_dict_1["labelled"],
          np.concatenate((np.array([True]), np.full((99,), False))),
      ).all()
  
imports: import pickle
  import unittest
  import unittest.mock
  import warnings
  import datasets
  import numpy
  import pytest
  import torch.utils.data
  from torchvision.transforms import Lambda
  from baal.active import ActiveLearningDataset
label_desc: Use image node_id 6 for calling the ActiveDatasetTest obj's underlying member method code with example usage: obj.test_state_dict() without return types