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

# Create a graph
# Edges denote a connected pair of nodes
edges = [(0, 1), (0, 2), (1, 2), (3, 4), (4, 5)]
g = Graph(edges=edges)

# Check if the graph is connected
is_conn = g.is_connected()
print(f'The graph is connected: {is_conn}')
<|EOT|>
