A Criterion For Assessing the Stability of Tunnels