docs: def update_selection_sm_prior(self):
          """State machine prior update of tree selection"""
          if self._do_selection_update:
              return
          self._do_selection_update = True
          tree_selection, selected_model_list, sm_selection, sm_selected_model_list = self.get_selections()
          if tree_selection is not None:
              # self._logger.info("SM SELECTION IS: {2}\n{0}, \n{1}".format(selected_model_list, sm_selected_model_list,
              #                                                             tree_selection.get_mode()))
              self.iter_tree_with_handed_function(self.update_selection_sm_prior_condition,
                                                  selected_model_list, sm_selected_model_list)
              self.check_selection_consistency()
          self._do_selection_update = False