'Returns True if the interface has timed out.'

def has_timed_out(self):

    if (self.unanswered_requests and ((time.time() - self.request_time) > 10) and (self.pipe.idle_time() > 10)):
        self.print_error('timeout', len(self.unanswered_requests))
        return True
    return False
