<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_cash_asset_class(self) -> AssetClass: """ Find the cash asset class by name. """

        for ac in self.asset_classes:
            if ac.name.lower() == "cash":
                return ac
        return None