<｜begin▁of▁sentence｜>### Instruction:
As a childbirth educator, you may encounter a scenario where you need to analyze the network of support and communication within a group of expectant parents. Using your knowledge of network analysis, you could be asked to determine whether the information flow within the group is directed or undirected. This involves using specific tools, such as Python's igraph library, to check for the presence of directed edges within the network representation and providing a confirmation of whether the communication flow is directed or not.
### Response:
from igraph import Graph

# Create a graph with directed edges
g = Graph(directed=True)
g.add_edges([(0, 1), (1, 2)])

# Check if the graph is directed
is_directed = g.is_directed()
print('The graph is directed:', is_directed)
<|EOT|>
