themes: check if theme element exist in list