def METHOD_NAME(xml_output, test_feature):
    """
    Check if result output contains tested feature.
    :param xml_output: virsh cpu-baseline command's result.
    :param test_feature: Test feature element.
    :return: a match object if the feature exists, otherwise None
    """
    feature_name = ""
    dom = parseString(xml_output)
    feature = dom.getElementsByTagName("feature")
    for names in feature:
        feature_name += names.getAttribute("name")
    dom.unlink()
    return re.search(test_feature, feature_name)