public static boolean hasRestartMethods(Class<? extends ConfigInstance> configClass) {
        try {
            configClass.getDeclaredMethod("containsFieldsFlaggedWithRestart");
            configClass.getDeclaredMethod("getChangesRequiringRestart", configClass);
            return true;
        } catch (NoSuchMethodException e) {
            return false;
        }
    }
Determines if the config class contains the methods required for detecting config value changes
between two config instances.
config-model/src/main/java/com/yahoo/vespa/model/utils/internal/ReflectionUtil.java