No idea if she planned it or not.
I think perhaps you do already know the answer.
If she was insane, would she have not attacked at any time - regarless of who was there or not?
Why did she wait til she was alone for a very brief period to commit her act?
She only had ONE hour to do this.