code: function registered(themeName) {
        if (themeName === undefined || themeName === '') return true;
        return applyTheme.THEMES[themeName] !== undefined;
      }
docs: Determine is specified theme name is a valid, registered theme