def get_arg_mult(template, *names):
    """Fetch the first existing argument of a template from a sequence of
    candidate argument names. Return `None` if none of them exist.
    """
    for name in names:
        argument = template.get_arg(name)
        if argument is not None:
            return argument
    return None