code: def get_context(namespace, context_id):
      
      context_obj = get_state(context_id, namespace=namespace)
      if not context_obj:
          raise ContextError("Context '{}' not found in namespace '{}'".format(
              context_id, namespace))
      return context_obj
docs: Get stored context object.