Can you get rid of the magic `*`?
This is not necessary here.

This function doesn't return a boolean, so could rename this function
`get_something`, e.g.  `get_label_type` or `get_classification_type`?