def is_closed(self):
        self.__lock.acquire()
        result = self.__is_closed
        self.__lock.release()
        return result
@return: True if the processor has been closed.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/log_processing.py/LogFileProcessor.is_closed