def METHOD_NAME(
    self, witness_request: messages.CardanoTxWitnessRequest
) -> None:
    from .. import seed
    from ..helpers.paths import SCHEMA_MINT
    super().METHOD_NAME(witness_request)
    is_minting = SCHEMA_MINT.match(witness_request.path)
    # In Plutus txs, we allow minting witnesses even when the tx doesn't have token minting.
    if not (
        seed.is_shelley_path(witness_request.path)
        or seed.is_multisig_path(witness_request.path)
        or is_minting
    ):
        raise wire.ProcessError("Invalid witness request")