Retrieve Active Labels of Checkbox Group?

The CheckboxGroup allows access to the active indices and all the labels through attributes but does not have an attribute for the **active labels. **

checkbox = CheckboxGroup(labels = [‘foo’, ‘bar’, ‘baz’], active = [0])




['foo', 'bar', 'baz']


****I think it would be useful if it were possible to access the labels themselves that are selected in addition to just the indices.

Currently, I do the following to get the active labels:

active_labels = [checkbox.labels[i] for i in]




Is there an easier method to get the active labels that I am missing?