Get instance state.
		
		:param resort.engine.execution.Context context:
		   Current execution context.
		:rtype:
		   str
		:return:
		   Instance state name.

def state(self, context):
	
		"""
		Get instance state.
		
		:param resort.engine.execution.Context context:
		   Current execution context.
		:rtype:
		   str
		:return:
		   Instance state name.
		"""
		
		state = None
		for line in self.read(context, [
			"status",
			context.resolve(self.__name)
		]):
			if line[2] == "state":
				state = line[3].strip()
		return state