code: def get(self, key, alt=None):
          
          with self.lock:
              if key in self:
                  return self.getitem(key)
  
              else:
                  return alt
docs: If dictionary contains _key_ return the associated value,
          otherwise return _alt_.