<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_definition_node(self, node, name):
 """Set definition by name."""

        definition = self.get_definition(name)
        if definition:
            definition.node = node