<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write(self, path, wrap_ttl=None, **kwargs):
 """Wrap the hvac write call, using the right token for cubbyhole interactions."""

        path = sanitize_mount(path)
        val = None
        if path.startswith('cubbyhole'):
            self.token = self.initial_token
            val = super(Client, self).write(path, wrap_ttl=wrap_ttl, **kwargs)
            self.token = self.operational_token
        else:
            super(Client, self).write(path, wrap_ttl=wrap_ttl, **kwargs)

        return val