<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def removeNode(self, node):
 """ Remove the given node from the graph if it exists """

        ident = self.getIdent(node)
        if ident is not None:
            self.graph.hide_node(ident)