def METHOD_NAME():
    find_sole_useful_xml = KartAdapter_GPKG.find_sole_useful_xml
    # We can find the sole useful XML if the other XML is just the useful XML wrapped in a GDALMultiDomainMetadata.
    assert find_sole_useful_xml([SAMPLE_XML, WRAPPED_SAMPLE_XML]) == SAMPLE_XML
    assert find_sole_useful_xml([WRAPPED_SAMPLE_XML, SAMPLE_XML]) == SAMPLE_XML
    # We give up as soon as things get more complicated
    assert find_sole_useful_xml([SAMPLE_XML, REPEATED_WRAPPED_SAMPLE_XML]) is None
    assert (
        find_sole_useful_xml([SAMPLE_XML, WRAPPED_SAMPLE_XML, WRAPPED_SAMPLE_XML])
        is None
    )