def METHOD_NAME(self) -> None:
    if self._msg.header.num_required_signatures > ALTLimit.max_required_sig_cnt:
        raise ALTError(
            f'Too big number {self._msg.header.num_required_signatures} of signed accounts for a V0Transaction'
        )
    elif len(self._msg.account_keys) > ALTLimit.max_alt_account_cnt:
        raise ALTError(f'Too big number {len(self._msg.account_keys)} of accounts for a V0Transaction')