'Executes the "actionflush" command.
Command executed in order to flush all bans at once (e. g. by stop/shutdown
the system), instead of unbunning of each single ticket.
Replaces the tags in the action command with actions properties
and executes the resulting command.'

def flush(self):

    family = []
    if self._startOnDemand:
        for f in CommandAction.COND_FAMILIES:
            if (self.__started.get(f) == 1):
                family.append(f)
        if (not family):
            return True
    return self._executeOperation('<actionflush>', 'flushing', family=family)
