@Override
    public boolean isRegistered(String pluginId) {
        return mainLock.applyWithReadLock(() -> registeredPlugins.containsKey(pluginId));
    }
@Test
    public void testIsRegistered() {
        Assert.assertFalse(manager.isRegistered(TestExecuteAwarePlugin.class.getSimpleName()));
        manager.register(new TestExecuteAwarePlugin());
        Assert.assertTrue(manager.isRegistered(TestExecuteAwarePlugin.class.getSimpleName()));
    }