code: def test_only_name_registered_component_space():
      c = {
          "actions": {"n_actions": 20},
          "messages": {"msg_var": 0, "valid": ["Hello", "World"]},
          "plans": {"future": "looking good"},
          **config,
      }
  
      with TradingContext(c) as c:
          name = "TensorTrade"
          value = "the time and effort."
          instance = WorthMessageComponent(name=name, value=value)
  
          assert "msg_var" in instance.context.keys()
          assert "valid" in instance.context.keys()
          assert instance.context["msg_var"] == 0
          assert instance.context == {
              "msg_var": 0,
              "valid": ["Hello", "World"],
              **config,
          }
  
imports: from abc import abstractmethod
  from tensortrade.core import Component, TradingContext
label_desc: Use image node_id 5 for calling a global function with example usage: test_only_name_registered_component_space() without return types