Add a stack method for determining whether a branch is initialised