@property<EOL><INDENT>def done(self):<DEDENT>
if self._process is None:<EOL><INDENT>raise AirflowException("<STR_LIT>")<EOL><DEDENT>if self._done:<EOL><INDENT>return True<EOL><DEDENT>if self._result_queue and not self._result_queue.empty():<EOL><INDENT>self._result = self._result_queue.get_nowait()<EOL>self._done = True<EOL>self.log.debug("<STR_LIT>", self._process)<EOL>self._process.join()<EOL>return True<EOL><DEDENT>if self._result_queue and not self._process.is_alive():<EOL><INDENT>self._done = True<EOL>if not self._result_queue.empty():<EOL><INDENT>self._result = self._result_queue.get_nowait()<EOL><DEDENT>self.log.debug("<STR_LIT>", self._process)<EOL>self._process.join()<EOL>return True<EOL><DEDENT>return False<EOL>
Check if the process launched to process this file is done.

:return: whether the process is finished running
:rtype: bool