

def pom_check_if_child_exists(parent, prefix, values, comparison_tags):
    for child in parent:
        match = 0
        for tag in comparison_tags:
            key = child.find((prefix + tag))
            if (key.text == tag[tag]):
                match += 1
        if (match == len(comparison_tags)):
            return True
    return False

dataset/ETHPy150Open databricks/spark-package-cmd-tool/python/spark_package/spark_package.py pom_check_if_child_exists/VarMisuse@53/67 `values`->`tag`