human
I wrote the below code

    def check(n, filename):
        nodes = get_nodes_by_name(n, name)
        rosdeps = [e.attributes for e in nodes]
        names = [d['name'].value for d in rosdeps]
        return [ROSDep(n) for n in names]
    return check

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

def check_rosdeps(name):