human
I wrote the below code

    @wraps(func)
    def inner(*args, **kwargs):
        (name, attrs, groups) = func(*args, **kwargs)
        if (attrs.get(u'role', u'') == u'control'):
            attrs[u'consul_is_server'] = True
        else:
            attrs[u'consul_is_server'] = False
        if attrs.get(u'publicly_routable', False):
            groups.append(u'publicly_routable')
        return (name, attrs, groups)
    return inner

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

def calculate_mantl_vars(func):