def METHOD_NAME(self) -> str:
    if self.alert_group.root_alert_group is None:
        text = "Actions available for this alert group"
    else:
        # No actions for attached alert group
        text = "No actions are available for this alert group"
    return text