checkStack

Before pushing a value on the stack this confirms that the stack has capacity.

fun checkStack(): Boolean