<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_all(self, 	 command='exit', 	 note=None, 	 echo=None, 	 timeout=shutit_global.shutit_global_object.default_timeout, 	 nonewline=False, 	 loglevel=logging.DEBUG):
 		"""Logs the user out of all pexpect sessions within this ShutIt object. 			@param command: Command to run to log out (default=exit) 			@param note: See send() 		"""

		shutit_global.shutit_global_object.yield_to_draw()
		for key in self.shutit_pexpect_sessions:
			shutit_pexpect_session = self.shutit_pexpect_sessions[key]
			shutit_pexpect_session.logout_all(ShutItSendSpec(shutit_pexpect_session,
		                                                     send=command,
		                                                     note=note,
		                                                     timeout=timeout,
		                                                     nonewline=nonewline,
		                                                     loglevel=loglevel,
		                                                     echo=echo))
		return True