code: def bool_element(element, name, default=True):
      
      element_value = element.find(name)
  
      if element_value is not None:
          return element_value.text == 'true'
  
      return default
docs: Returns the bool value of an element, or a default if it's not defined
      :param element: The XML Element object
      :type  element: etree._Element
  
      :param name: The name of the element to evaluate
      :type  name: str
  
      :param default: The default value to return if the element is not defined
      :type  default: bool