def _parse_vasp_lvel(xml_tree):
    """Extract LVEL from an XML ElementTree representing a vasprun.xml file.
    If this parameter is not present, return False.
    """
    xml_incar = xml_tree.find('./incar')
    nruter = False
    for e in xml_incar:
        attribs = e.attrib
        if 'type' in attribs and attribs['type'] == 'logical' and attribs[
            'name'] == 'LVEL':
            nruter = e.text.strip() == 'T'
            break
    return nruter
