Storing exit flag from Blanchard Kahn Conditions

I am calculating the optimal policy rule but I would like to introduce a penalty function in the optimization algorithm.

For that I need to store the exit flag for the Blanchard Kahn Condition.

Grateful if you could suggest where I can find the exit flag. Used to be in the variable info(1) but cannot find it anymore.



How are you implementing this? If you are looping over

it is there in info