def __contains__(self, item):
		"""Return if item in the session"""
		if not self.started:
			raise NotStarted("Session must be started")
		return self.data.__contains__(item)
Return if item in the session
recipes/Python/577524_Python_Sessions/recipe-577524.py