def METHOD_NAME(
    prefix: str,
    value: str | t.Sequence[str | uuid.UUID] | None,
    default: str | None = None,
) -> str:
    if value:
        if isinstance(value, collections.abc.Sequence) and not any(value):
            return default or ""
        if isinstance(value, str):
            return f"{prefix}:{value}/"
        return "{}:{}/".format(prefix, ",".join(str(x) for x in value))
    else:
        return default or ""