<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_current_shutit_pexpect_session_environment(self, note=None):
 		"""Returns the current environment from the currently-set default 		pexpect child. 		"""

		self.handle_note(note)
		current_session = self.get_current_shutit_pexpect_session()
		if current_session is not None:
			res = current_session.current_environment
		else:
			res = None
		self.handle_note_after(note)
		return res