Dynamic Table of Contents in Adobe Captivate Classic

I have created a branching lesson that is based on a button prompt with a true/false variable. The lesson has some slides that are specific to the choice made at the start of the lesson. Can I create a table of contents that will reference that true/false variable and change the table of contents to fit the choice made? (ie. only show the relevant slides that pertain to the choice)