'Handle lines when in delete state. Don\'t print out lines
unless the state has ended.'

def __delete_func(self, line):

    if (self.__delete_count == self.__cb_count):
        self.__state = 'default'
        if self.__write_cb:
            self.__write_cb = True
            return True
        return False
