<｜begin▁of▁sentence｜>### Instruction:
Given a graph with edge set [(0, 1), (2, 3)], can you check if the graph is directed?
### Response:
from igraph import Graph

# Define the graph with directed edges
g = Graph([(0, 1), (2, 3)], directed=True)

# Check if the graph is directed
is_directed = g.is_directed()

print('The graph is directed:', is_directed)
<|EOT|>
