class_docstr: State dictionary that behaves like a python dict but accepts StateKeys
class_docstr_tok: ["State","dictionary","that","behaves","like","a","python","dict","but","accepts","StateKeys"]
code: def __setitem__(self, key, val):
      super(State, self).__setitem__(self.get_key(key), val)
  
imports: from torchbearer import Metric
  import warnings
label_desc: Use image node_id 5 for calling the State obj's underlying member method code with example usage: obj.__setitem__(key, val) without return types