DEV: allows to check if an icon is in the set (PR #11303)

GitHub