human
Complete this python program:
def _SetDefaultOrNamedAssignArgListSubtype(node):
assistant
#Here is the Python code you requested.

    """Set named assign subtype on elements in a arg list.
    """
    def HasDefaultOrNamedAssignSubtype(node):
        'Return    True    if    the    arg    list    has    a    named    assign    subtype.'
        if isinstance(node, pytree.Leaf):
            if (format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN in pytree_utils.GetNodeAnnotation(node, pytree_utils.Annotation.SUBTYPE, set())):
                return True
            return False
        has_subtype = False
        for child in node.children:
            if (pytree_utils.NodeName(child) != 'arglist'):
                has_subtype |= HasDefaultOrNamedAssignSubtype(child)
        return has_subtype
    if HasDefaultOrNamedAssignSubtype(node):
        for child in node.children:
            if (pytree_utils.NodeName(child) != 'COMMA'):
                _AppendFirstLeafTokenSubtype(child, format_token.Subtype.DEFAULT_OR_NAMED_ASSIGN_ARG_LIST)