code: def currency_iso_code(self, allow_random: bool = False) -> str:
          
          if allow_random:
              return self.random.choice(CURRENCY_ISO_CODES)
          else:
              return self._data['currency-code']
docs: Get code of the currency for current locale.
  
          :param allow_random: Get a random ISO code.
          :return: Currency code.