<｜begin▁of▁sentence｜>### Instruction:
Given an undirected graph with an edge set [(0, 1), (1, 2), (2, 3)], can you check if the graph is directed using the is_directed function in igraph?
### Response:
import igraph as ig
# Create an undirected graph
g = ig.Graph(edges=[(0, 1), (1, 2), (2, 3)])
# Check if the graph is directed
is_directed = g.is_directed()
print(f'The graph is directed: {is_directed}')
<|EOT|>
