def METHOD_NAME(self, node: Node) -> Optional[Node]:
    """Returns the parent of the given node.
    Args:
        node (Node): The node to get the parent of.
    Returns:
        Optional[Node]: The parent of the given node, or None if the node has no parent.
    """
    self.response.set_value("parent", node.METHOD_NAME())