LabelValidator
Validates Labels. If you want to know which key/value pair of the dict is not correctly formatted use validate_verbose().
validate_verbose()
bool
Validates Labels and returns the corresponding error message if something is wrong. Returns True, <empty string> if everything is fine.
bool, str