'Called just before beginning to un-connect a puppeting from
this Player.
Note:
You can use `self.player` and `self.sessions.get()` to get
player and sessions at this point; the last entry in the
list from `self.sessions.get()` is the latest Session
puppeting this Object.'

def at_pre_unpuppet(self):

    self.callbacks.call('unpuppeted', self)
    location = self.location
    if (location and isinstance(location, DefaultRoom)):
        location.callbacks.call('unpuppeted_in', self, location)
    super(EventCharacter, self).at_pre_unpuppet()
