<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def HasBalance(self, assetId):
 """ Flag indicating if the asset has a balance. Args: assetId (UInt256):
 Returns: bool: True if a balance is present. False otherwise. """

        for key, fixed8 in self.Balances.items():
            if key == assetId:
                return True
        return False