code: def has_enough_gas_reserve(
          raiden,
          channels_to_open: int = 0,
  ) -> Tuple[bool, int]:
      
      secure_reserve_estimate = get_reserve_estimate(raiden, channels_to_open)
      current_account_balance = raiden.chain.client.balance(raiden.chain.client.address)
  
      return secure_reserve_estimate <= current_account_balance, secure_reserve_estimate
docs: Checks if the account has enough balance to handle the lifecycles of all
      open channels as well as the to be created channels.
  
      Note: This is just an estimation.
  
      Args:
          raiden: A raiden service instance
          channels_to_open: The number of new channels that should be opened
  
      Returns:
          Tuple of a boolean denoting if the account has enough balance for
          the remaining lifecycle events and the estimate for the remaining
          lifecycle cost