I think the branch is in the wrong place. It should be placed after the Event Tick node where you start the continuous running. What you should plug in after the on completed pin of the Play Montage node is the set node of that variable and set it to true.