<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def is_stop(self):
        ''' has either of the stop processing flags been set '''
        if len(self._processed_coordinators) > 0:
            self.free_processed_queue()
        return self._cancel_called or self._processing_stop