def METHOD_NAME(queries: List[str]) -> None:
    """Check that if {{ }} syntax is used, the keyword is a valid, builtin expansion, such as {{today}}."""
    for query in queries:
        matches = re.findall(BUILTIN_TAG_PATTERN, query)
        for match in matches:
            tag_name = match.strip(" {}")
            if tag_name not in BUILT_IN_EXPANSIONS:
                raise InvalidUserActionException(
                    "`%s` is not a valid Aqueduct placeholder. Valid placeholders are: [%s]. If you're trying to parameterize "
                    "this query please pass parameters in explicitly and use our $1, $2 etc. query syntax."
                    % (tag_name, ", ".join(BUILT_IN_EXPANSIONS.keys()))
                )