<｜begin▁of▁sentence｜>### Instruction:
Imagine you're working on ensuring the resilience of communication channels between two large refugee camps, Camp Alpha and Camp Beta, each with its own internal network of 10 key operation centers connected in such a way that every center is directly in touch with every other within the same camp. To coordinate the relief efforts effectively, you've created a direct link, or a "bridge," between one operation center in Camp Alpha and one in Camp Beta, without adding any intermediary stops or relay points.

In the context of this relief operation, you need to determine the robustness of this communication setup. Specifically, you're concerned about how the network would withstand disruptions: would cutting just one link between any two operation centers (either within a camp or the bridge itself) lead to a breakdown in direct communication between the two camps, or would the network require at least two such disruptions before becoming disconnected?
### Response:
import networkx as nx

# Create a barbell graph
G = nx.barbell_graph(10, 0)

# Test if the graph is 1-edge-connected
is_1_edge_connected = nx.is_k_edge_connected(G, k=1)
print('Is the graph 1-edge-connected?', is_1_edge_connected)

# Test if the graph is 2-edge-connected
is_2_edge_connected = nx.is_k_edge_connected(G, k=2)
print('Is the graph 2-edge-connected?', is_2_edge_connected)
<|EOT|>
