is_graph_directed function

Is the graph a directed graph?