code: def test_duplicate_string(self):
      _ = torchbearer.state_key("test_dup")
      key_1 = torchbearer.state_key("test_dup")
      key_2 = torchbearer.state_key("test_dup")
  
      self.assertTrue("test_dup_1" == str(key_1))
      self.assertTrue("test_dup_2" == str(key_2))
  
imports: import unittest
  import warnings
  import torchbearer
  from torchbearer.state import State
label_desc: Use image node_id 6 for calling the TestStateKey obj's underlying member method code with example usage: obj.test_duplicate_string() without return types