code: def __getitem__(self, item):
      if type(item) is int:
          return self.get_idx_symbol(item)
      return self.get_symbol_idx(item)
  
imports: from operator import itemgetter
  import numpy
label_desc: Use image node_id 11 for calling the Vocab obj's underlying member method code with example usage: obj.__getitem__(item) and returns: self, self