'Returns the current active object being proxied to
In the event that no object was pushed, the default object if
provided will be used. Otherwise, a TypeError will be raised.'

def _current_obj(self):

    try:
        objects = self.____local__.objects
    except AttributeError:
        objects = None
    if objects:
        return objects[(-1)]
    else:
        obj = self.__dict__.get('____default_object__', NoDefault)
        if (obj is not NoDefault):
            return obj
        else:
            raise TypeError(('No    object    (name:    %s)    has    been    registered    for    this    thread' % self.____name__))
