public static boolean isContrastGotItOnlyButton(Component c) {
    return c instanceof AbstractButton button && button.getClientProperty("gotItButton.contrast.only.button") == Boolean.TRUE;
  }
public static boolean isContrastGotItOnlyButton(Component c)