def METHOD_NAME(env: T.Dict[str, str], name: str, values: T.List[str], separator: str, default_value: T.Optional[str]) -> str:
    curr = env.get(name, default_value)
    return separator.join(values if curr is None else [curr] + values)