<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def deactivate(self, node_id):
 """Deactivate the node identified by node_id. Deactivates the node corresponding to node_id, which means that it can never be the output of a nearest_point query. Note: The node is not removed from the tree, its data is steel available. Args: node_id (int):
 The node identifier (given to the user after its insertion). """

        node = self.node_list[node_id]
        self.node_list[node_id] = node._replace(active=False)