boolean (@NotNull String modelName) { if (DummyModel.class.getName().equals(modelName)) return true; if (TurnOffDefaultTasks.class.getName().equals(modelName)) return true; for (ModelBuilderService service : modelBuilderServices) { if (service.canBuild(modelName)) return true; } return false; }