Hello all,
In between stages of an individual choice game (let's call it stage 1 and stage 2), I have a calculation page which is performing calculations (function) based on input in stage 1 which will affect stage 2. Players don't need to see this. Currently, I have coded it like this with success 
class SwitchWait(Page):
    
        form_model = 'player'
    
        @staticmethod
    
        def before_next_page(player, timeout_happened):
        
              Monty2(player)
When I do this, players manually have to click continue on the SwitchWait page to move forward. I wanted to hide this page since they do not need to see it. When I try to use a display condition, the page does not display but the function also is not calculated 
class SwitchWait(Page):
    
        form_model = 'player'
    
        @staticmethod
    
        def is_displayed(player):
       
                return 1 < 0 
    
        @staticmethod
    
        def before_next_page(player, timeout_happened):
        
                Monty2(player)
Is there a way to bypass the page (for subjects) but still have the function executed? 
Thank you for your consideration