public boolean isRunnable() {
        return runnable;
    }
Whether threads can in running state with while loop.

@return true if threads can run
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/common/AbstractDaemon.java