<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_environment(self, note=None):
 		"""Returns the current environment id from the current 		shutit_pexpect_session 		"""

		shutit_global.shutit_global_object.yield_to_draw()
		self.handle_note(note)
		res = self.get_current_shutit_pexpect_session_environment().environment_id
		self.handle_note_after(note)
		return res