Rephrase as `if self.settings.subcategories_separator in cat:`