private static boolean isFieldModified(@NotNull JCheckBox checkBox, boolean value) {
    return checkBox.isSelected() != value;
  }
private static boolean isFieldModified(@NotNull JCheckBox checkBox, boolean value)