def balance(self, symbol):
if isinstance(symbol, dict) and "<STR_LIT>" in symbol:<EOL><INDENT>symbol = symbol["<STR_LIT>"]<EOL><DEDENT>balances = self.balances<EOL>for b in balances:<EOL><INDENT>if b["<STR_LIT>"] == symbol:<EOL><INDENT>return b<EOL><DEDENT><DEDENT>return self.amount_class(<NUM_LIT:0>, symbol, blockchain_instance=self.blockchain)<EOL>
Obtain the balance of a specific Asset. This call returns instances of
            :class:`amount.Amount`.