code: def get_balance(self, address):
          
          spendables = self.get_unspent_outputs(address)
          if not spendables:
              logging.warning('address %s has a balance of 0', address)
              return 0
  
          balance = sum(s.coin_value for s in spendables)
          return balance
docs: Get balance available to spend at the address
          :param address:
          :return: