'Delete the specified node if it exists.
It is not an error if the node does not exist.'

def delete_node(self, name):

    name = self._validate_name(name)
    if (name in self.nodes):
        del self.nodes[name]
