Closed Mesh

Howto check if mesh is closed? A closed mesh is one for which every edge is shared by exactly two triangles.

In 3d-window header in Edit mode, go Select menu->Non-manifold (or Ctrl-Shift-Alt-M).

Thank you.