def populate_fees(self):
    if (not (hasattr(self, 'markets') or hasattr(self, 'currencies'))):
        return
    for (currency, data) in self.currencies.items():
        if (('fee' in data) and (data['fee'] is not None)):
            self.fees['funding']['withdraw'][currency] = data['fee']
            self.fees['funding']['fee_loaded'] = True
def populate_fees(self):
    if (not (hasattr(self, 'markets') or hasattr(self, 'currencies'))):
        return
    for (currency, data) in self.currencies.items():
        if (('fee' in data) and (data['fee'] is not None)):
            self.fees['funding']['withdraw'][currency] = data['fee']
            self.fees['funding']['fee_loaded'] = True