append check.tags into a list for every check in self.registered_checks if check has 'tags' attribute, put the elements into a set and return it.
return set ( chain ( * [ check . tags for check in self . registered_checks if hasattr ( check , 'tags' ) ] ) )