private static boolean isRegisteredNamedColor(@NotNull String key) {
    return UIThemeMetadataService.getInstance().findByKey(key) != null;
  }
private static boolean isRegisteredNamedColor(@NotNull String key)