private static function assertCurrency($code)
    {
        if (!isset(self::$data[$code])) {
            throw new NostoException(sprintf(
                'Currency (%s) must be one of the following ISO 4217 codes: "%s".',
                $code,
                implode('", "', array_keys(self::$data))
            ));
        }
    }