docs: def update_selection_self_prior_condition(self, state_row_iter, sm_selected_model_set, selected_model_list):
          """Tree view prior update of one model in the state machine selection"""
          selected_path = self.tree_store.get_path(state_row_iter)
          tree_model_row = self.tree_store[selected_path]
          model = tree_model_row[self.MODEL_STORAGE_ID]
  
          if model in sm_selected_model_set and model not in selected_model_list:
              sm_selected_model_set.remove(model)
          elif model not in sm_selected_model_set and model in selected_model_list:
              sm_selected_model_set.add(model)