<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def del_hyperedge(self, hyperedge):
 """ Delete the given hyperedge. @type hyperedge: hyperedge @param hyperedge: Hyperedge identifier. """

        if (hyperedge in self.hyperedges()):
            for n in self.edge_links[hyperedge]:
                self.node_links[n].remove(hyperedge)

            del(self.edge_links[hyperedge])
            self.del_edge_labeling(hyperedge)
            self.graph.del_node((hyperedge,'h'))