<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_rdn_deposits(raiden, user_deposit_proxy: UserDeposit):
 """ Check periodically for RDN deposits in the user-deposits contract """

    while True:
        rei_balance = user_deposit_proxy.effective_balance(raiden.address, "latest")
        rdn_balance = to_rdn(rei_balance)
        if rei_balance < MIN_REI_THRESHOLD:
            click.secho(
                (
                    f'WARNING\n'
                    f'Your account\'s RDN balance of {rdn_balance} is below the '
                    f'minimum threshold. Provided that you have either a monitoring '
                    f'service or a path finding service activated, your node is not going '
                    f'to be able to pay those services which may lead to denial of service or '
                    f'loss of funds.'
                ),
                fg='red',
            )

        gevent.sleep(CHECK_RDN_MIN_DEPOSIT_INTERVAL)