is_graph_empty function

Is the graph empty?