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

# Create a graph
G = nx.Graph([(1,2), (2,3), (3,4), (4,1), (2,4)])

# Check if the graph is chordal
is_chordal_graph = nx.is_chordal(G)

print('Is graph chordal?', is_chordal_graph)
<|EOT|>
