def may_be_lazy(thing): if isinstance(thing, Promise): return thing._proxy____args[0] else: return thing