A hinge can be used between two structures to allow the structures to be quickly and easily folded and unfolded. The hinge has a first portion connected to a structure and a second portion connected to a structure. The first and second portions are also connected to one another. A latch is connected to one of the portions. The latch is biased towards a locked position such that when the hinge is unfolded, the hinge is prevented from being folded.