<｜begin▁of▁sentence｜>### Instruction:
Given a graph with the edge set [(0, 1), (0, 2), (1, 2), (2, 3), (3, 4), (4, 2)], can you check if the graph is chordal using the is_chordal function in igraph?
### Response:
import igraph as ig

# Create a chordal graph (every cycle of four or more vertices has a chord)
edges = [(0, 1), (0, 2), (1, 2), (2, 3), (3, 4), (4, 2)]
g = ig.Graph(edges=edges)

# Check if the graph is chordal
is_chordal = g.is_chordal()
print('Is the graph chordal?', is_chordal)
<|EOT|>
