def is_10k_risk_title(title: str) -> bool:
    """Checks to see if the title matches the pattern for the risk heading."""
    return (
        "1a" in title.lower() or "risk factors" in title.lower()
    ) and "summary" not in title.lower()
Checks to see if the title matches the pattern for the risk heading.
llama-index-integrations/readers/llama-index-readers-sec-filings/llama_index/readers/sec_filings/prepline_sec_filings/sec_document.py