def _set_selected_action(self, action):
assert action in self._action_sets<EOL>if self._selected_action is not None:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self._selected_action = action<EOL>
Setter method for the selected_action property.