def METHOD_NAME(self, *args):
    """Append one or more arguments to a Hostlist
    Args may be either a Hostlist or any valid argument to Hostlist()
    """
    count = 0
    for arg in args:
        if not isinstance(arg, Hostlist):
            arg = Hostlist(arg)
        count += self.pimpl.append_list(arg)
    return count