'Check to see if the group has ended.
Return True for all control words.
Return False otherwise.'

def __list_func(self, line):

    if ((self.__delete_count == self.__cb_count) and (self.__token_info == 'cb<nu<clos-brack')):
        self.__state = 'default'
        if self.__write_cb:
            self.__write_cb = False
            return True
        return False
    elif (line[0:2] == 'cw'):
        return True
    else:
        return False
