@self.callback([(self.id_collapse, 'is_open')], [(self.id_toggler, 'n_clicks')], [(self.id_collapse, 'is_open')])
def toggle_navbar_collapse(n_clicks, is_open):
    return [((not is_open) if n_clicks else is_open)]
@self.callback([(self.id_collapse, 'is_open')], [(self.id_toggler, 'n_clicks')], [(self.id_collapse, 'is_open')])
def toggle_navbar_collapse(n_clicks, is_open):
    return [((not is_open) if n_clicks else is_open)]