human
I wrote the below code

    def typeNames():
        for types in registry.values():
            for typ in types:
                (yield typ.typeName)
    return set(typeNames())

What's a good function header?

Here's a good function header?
assistant
#Here's a good function header.

def messageTypeNames():