def _check_labels_features_exist(self, labels_example: List[Message], attribute: Text) -> bool:
    'Checks if all labels have features set.'
    return all((label_example.features_present(attribute, self.component_config[FEATURIZERS]) for label_example in labels_example))
Checks if all labels have features set.
def _check_labels_features_exist(self, labels_example: List[Message], attribute: Text) -> bool:
    
    return all((label_example.features_present(attribute, self.component_config[FEATURIZERS]) for label_example in labels_example))