def METHOD_NAME(self, sig_node) -> str:
    # NOTE: toctree unpacking issues are due to incorrectly
    # setting _toc_parts.
    sig_node["_toc_parts"] = (
        "bundle",
        sig_node["sig"],
    )
    if len(sig_node["sig"]) == 4:
        # It's a code - don't return TOC entry.
        return ""
    else:
        # It's a name
        return sig_node["sig"]