pub(crate) fn create_label_options(
labels: Vec<String>,
) -> (Option<HashSet<String>>, Option<Label>)Expand description
Checks if a list of labels has been given.
If yes, create a HashSet from the labels and return it, including an “Others” label for the
rest of the labels which are not included in the set.