<｜begin▁of▁sentence｜>### Instruction:
As a freight broker, imagine you have a situation where you are tasked with determining whether a particular combination of freight can be shipped according to the available carriers and their capacities. The sequence of degrees [2, 2, 2, 2] can be likened to the capacity of carriers, and the question is whether it can fulfill the shipping requirements of the available freight. You need to analyze this using available carrier capacities and potential freight requirements to determine if the combination is feasible. This is similar to using NetworkX to determine whether a given degree sequence can correspond to a graph.
### Response:
import networkx as nx

# Given a degree sequence
degree_sequence = [2, 2, 2, 2]

# Check if the degree sequence is graphical using NetworkX
is_graphical = nx.is_graphical(degree_sequence)

# Output the result
print('Is the degree sequence graphical?', is_graphical)
<|EOT|>
