class_docstr: Works with _WeakArgsDict to provide a weak cache for function args.
  When any of those args are gc'd, the pair is removed from the cache.
code: def _try_ref(item, callback):
      try:
          return ref(item, callback), True
      except TypeError:
          return item, False
  
imports: from collections import OrderedDict, Sequence
  from functools import wraps
  from itertools import compress
  from weakref import WeakKeyDictionary, ref
  from six.moves._thread import allocate_lock
  from toolz.sandbox import unzip
label_desc: Use image node_id 4 for calling the _WeakArgs obj's underlying member method code with example usage: obj._try_ref(item, callback) and returns: ref,  True, item,  False