def METHOD_NAME(name: str, icon: str, checks: List[CheckResult]) -> str:
    if checks:
        lr = f"## {name} \n\n"
        for check in sorted(checks, key=lambda x: -ReportSeverityPriority[x.check.severity]):
            lr += f"- {icon} {check.check.severity.name}: {check.check.title}\n"
        return lr
    else:
        return ""