def were_balance_proofs_valid(participant1, participant2):
    """ Checks if balance proofs were ever valid. """
    deposit = participant1.deposit + participant2.deposit

    # Regardless of issuance time, the locked amount must be smaller than the
    # total channel deposit.
    return (
        participant1.locked <= deposit and
        participant2.locked <= deposit
    )