human
I wrote the below code

    def check(n, filename):
        platforms = get_nodes_by_name(n, name)
        try:
            vals = [(p.attributes['os'].value, p.attributes['version'].value, p.getAttribute('notes')) for p in platforms]
        except KeyError as e:
            raise ManifestException(("<platform>    tag    is    missing    required    '%s'    attribute" % str(e)))
        return [Platform(*v) for v in vals]
    return check

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

def check_platform(name):