def testXMLAttribute(element, attribute):
    if element is not None:
        return element.get(attribute)

    return None
Whether the file is a torrent
dataset/ETHPy150Open geopython/OWSLib/owslib/util.py/testXMLAttribute--crossover with--dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py/File.is_torrent