def _validate_currency(currency: str) -> None:
    """
    Validates if the provided currency is available in the list of supported currencies.

    Args:
    - currency (str): The currency code to validate

    Raises:
    - ValueError: If the `currency` provided isn't a valid one

    Returns:
    - None
    """

    # Get the currencies data
    codes = [entry["curr_code"] for entry in _get_currencies_data()]

    # Stop if the `currency` provided isn't a valid one
    # TODO: how do users know what currencies are supported?
    if currency not in codes:
        raise ValueError(
            f"The supplied currency `{currency}` is not in the list of supported currencies."
        )

    Validates if the provided currency is available in the list of supported currencies.

    Args:
    - currency (str): The currency code to validate

    Raises:
    - ValueError: If the `currency` provided isn't a valid one

    Returns:
    - None
    
great_tables/_formats.py