<｜begin▁of▁sentence｜>### Instruction:
Given a graph with an edge set of [(1, 2)], how can you use NetworkX to check if the graph is frozen after applying the freeze operation?
### Response:
import networkx as nx

# Create a graph
G = nx.Graph()
G.add_edge(1, 2)

# Freeze the graph
nx.freeze(G)

# Check if the graph is frozen
frozen_status = nx.is_frozen(G)
print('Is the graph frozen?', frozen_status)
<|EOT|>
