<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_co_name(self, context):
 """ Obtain the CO name previously saved in the request state, or if not set use the request path obtained from the current context to determine the target CO. :type context: The current context :rtype: string :param context: The current context :return: CO name """

        try:
            co_name = context.state[self.name][self.KEY_CO_NAME]
            logger.debug("Found CO {} from state".format(co_name))
        except KeyError:
            co_name = self._get_co_name_from_path(context)
            logger.debug("Found CO {} from request path".format(co_name))

        return co_name