frauddetector_get_labels function

Gets all labels or a specific label if name is provided