<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def logout(self, callback=None):
 """Logout a user Keyword Arguments: callback - callback function called when the user has been logged out"""

        self.ddp_client.call('logout', [], callback=callback)
        self.emit('logged_out')