<｜begin▁of▁sentence｜>### Instruction:
Given a graph object, can you check if the graph structure is directed using the is_directed function from igraph?
### Response:
from igraph import Graph

# Create an example graph
g = Graph(directed=True)

directed_check = g.is_directed()
print('The graph is directed:', directed_check)
<|EOT|>
