<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def have_graph(self, graph):
 """Return whether I have a graph by this name."""

        graph = self.pack(graph)
        return bool(self.sql('graphs_named', graph).fetchone()[0])