Hamlet says, "Denmark’s a prison.”

Write two to three sentences in which you identify the type of figurative language Hamlet uses here and analyze its meaning and effects.