>This function doesn't return a boolean, so could rename this function
>`get_something`, e.g.  `get_label_type` or `get_classification_type`?

With the given you return a string output and a