def METHOD_NAME(self, *args):
    """
    Return an idset of ranks that are the union of all states in args
    """
    ids = IDset()
    for state in args:
        ids.add(self[state])
    return ids