the `label in this.cssClasses` check is unnecessary, since Array.isArray will return false for that