protected function iconExists($icon)
    {
        foreach ($this->icons as $group) {
            foreach ($group as $entry) {
                if (!is_array($entry)) {
                    continue;
                }

                if ($entry['value'] === $icon) {
                    return true;
                }
            }
        }

        return false;
    }