public static boolean isSet(@Nullable Component component, @NotNull @NonNls Object key, @NotNull Object value) {
    return value.equals(get(component, key));
  }
public static boolean isSet(@Nullable Component component, @NotNull @NonNls Object key, @NotNull Object value)