<｜begin▁of▁sentence｜>### Instruction:
Given a graph definition in terms of edges, can you check if the graph is simple (meaning it has no loops or multiple edges)?
### Response:
from igraph import Graph

# Create a graph
edges = [(0, 1), (1, 2), (2, 3), (3, 0), (0, 2)]
g = Graph(edges)

# Check if the graph is simple
is_simple_graph = g.is_simple()
print('Graph is simple:', is_simple_graph)
<|EOT|>
