<｜begin▁of▁sentence｜>### Instruction:
As a Physical Education Teacher, I guide students in physical fitness, sports, and recreational activities. If a student approaches me with a gym equipment-related question, they may ask: "Can you verify if a specific piece of equipment in the gym is a double set (i.e., has duplicates)?"
### Response:
import igraph as ig

# Create a graph with potential multiple edges
g = ig.Graph([(0, 1), (0, 1), (1, 2)])
edge = g.es[0]

# Check if the selected edge is a multiple edge (i.e., has duplicates in the graph)
is_mult = edge.is_multiple()
print('Is the edge multiple?', is_mult)
<|EOT|>
