themeNameAlreadyExists = (name) => {
  return themes[name] !== undefined;
}
Check whether the theme name is still available.
@param {string} name Theme name.
@returns {boolean} Whether the theme name is available.