<｜begin▁of▁sentence｜>### Instruction:
Given an empty graph created with NetworkX, can you check if the graph has no edges using the is_empty function?
### Response:
import networkx as nx

# Create an empty graph
G = nx.Graph()

# Check if the graph is empty
empty = nx.is_empty(G)

print('Is the graph empty?', empty)
<|EOT|>
