public static boolean containsFieldsFlaggedWithRestart(Class<? extends ConfigInstance> configClass)  {
        try {
            Method m = configClass.getDeclaredMethod("containsFieldsFlaggedWithRestart");
            m.setAccessible(true);
            return (boolean) m.invoke(null);
        } catch (NoSuchMethodException | InvocationTargetException | IllegalAccessException e) {
            throw new RuntimeException(e);
        }
    }
Determines if the config definition for the given config class contains key-values flagged with restart.
config-model/src/main/java/com/yahoo/vespa/model/utils/internal/ReflectionUtil.java