def METHOD_NAME(self):
    if not self.label_widget:
        return
    style_state = self.get_style_state(
        self.is_invalid,
        self.entity.has_unsaved_changes,
        self.entity.has_project_override,
        self.entity.has_studio_override
    )
    if self._style_state == style_state:
        return
    self.label_widget.setProperty("state", style_state)
    self.label_widget.style().polish(self.label_widget)
    self._style_state = style_state