<｜begin▁of▁sentence｜>### Instruction:
Given a simple graph with 5 vertices and edges list [(0, 1), (1, 2), (2, 3), (3, 4)], can you check if the EdgeSeq of the graph contains all the edges exactly once and in the order of their edge IDs?
### Response:
import igraph as ig

# Create a simple example graph
g = ig.Graph(n=5, edges=[(0, 1), (1, 2), (2, 3), (3, 4)])

# Get the EdgeSeq of the graph
edges = g.es

# Check if the EdgeSeq contains all the edges
contains_all_edges = edges.is_all()

# Print the result
print('Does the edge sequence contain all edges exactly once?:', contains_all_edges)
<|EOT|>
