<｜begin▁of▁sentence｜>### Instruction:
As a zoologist, you might find it interesting to know that in some animal communities, there is a need to understand the interconnectedness of different species within their ecosystem. Imagine having a dataset that represents the number of connections each species has with others, much like the degrees of connectivity in a network. In this context, the question is whether it's possible to construct a network of interactions based on this data, without any species having multiple connections or any self-interactions. This is akin to determining if a given sequence of degrees (representing the species' connections) is graphical within the animal community.
### Response:
import networkx as nx

# Define a sequence of degrees
sequence = [2, 3, 2, 1, 1, 1]

# Check if the degree sequence can form a simple graph
is_graphical = nx.is_graphical(sequence)

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