Absolutely. It should subclass the SelectableDataItem, not just add a is_selected. This way is clear, and will not lead to undefined behavior.