@Override
    public boolean isEmpty() {
        lock.lock();
        try {
            return tasks.isEmpty();
        } finally {
            lock.unlock();
        }
    }
@Test
    void testIsEmpty() {
        assertTrue(nacosDelayTaskExecuteEngine.isEmpty());
        nacosDelayTaskExecuteEngine.addTask("test", abstractTask);
        assertFalse(nacosDelayTaskExecuteEngine.isEmpty());
        nacosDelayTaskExecuteEngine.removeTask("test");
        assertTrue(nacosDelayTaskExecuteEngine.isEmpty());
    }