class_docstr: Logs the training of components.
class_docstr_tok: ["Logs","the","training","of","components","."]
code: def _does_node_train(node: SchemaNode) -> bool:
      # Nodes which train are always targets so that they store their output in the
      # model storage. `is_input` filters out nodes which don't really train but e.g.
      # persist some training data.
      return node.is_target and not node.is_input
  
imports: import logging
  from typing import Any, Dict, Text, Type
  from rasa.engine.caching import TrainingCache
  from rasa.engine.graph import ExecutionContext, GraphNodeHook, GraphSchema, SchemaNode
  from rasa.engine.storage.storage import ModelStorage
  from rasa.engine.training.components import PrecomputedValueProvider
  import rasa.shared.utils.io
  from rasa.engine.training import fingerprinting
label_desc: Use image node_id 3 for calling the LoggingHook obj's underlying member method code with example usage: obj._does_node_train(node) and returns: unknown