code: def popitem(self, last=True):
      while True:
          key, value = self.data.popitem(last)
          if key.alive:
              return tuple(key), value
  
imports: from collections import OrderedDict, Sequence
  from itertools import compress
  from weakref import WeakKeyDictionary, ref
  from six.moves._thread import allocate_lock
  from toolz.sandbox import unzip
  from trading_calendars.utils.memoize import lazyval
  from zipline.utils.compat import wraps
label_desc: Use image node_id 2 for calling the _WeakArgsOrderedDict obj's underlying member method code with example usage: obj.popitem(last) and returns: tuple,  value