def METHOD_NAME(self, dev_keys: bool) -> None:
    if not dev_keys:
        model_keys = models.TREZOR_ONE_V3
    else:
        model_keys = models.TREZOR_ONE_V3_DEV
    self.validate_code_hashes()
    check_sig_signmessage(
        self.digest(),
        self.header.v1_key_indexes,
        self.header.v1_signatures,
        model_keys.firmware_sigs_needed,
        model_keys.firmware_keys,
    )