public static function exists($currency)
    {
        if ($currency instanceof CurrencyInterface) {
            $currency = $currency->getIsoCode();
        }

        self::loadSpecifications();
        return array_key_exists(strtolower($currency), self::$specifications);
    }