human
I wrote the below code

    def tags_match(server_tags):
        for (key, value) in tag_set.items():
            if ((key not in server_tags) or (server_tags[key] != value)):
                return False
        return True
    return selection.with_server_descriptions([s for s in selection.server_descriptions if tags_match(s.tags)])

What's a good function header?

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

def apply_single_tag_set(tag_set, selection):