code: def get_element_tree(parent_to_parse):
      
  
      if isinstance(parent_to_parse, ElementTree):
          return parent_to_parse
  
      element = get_element(parent_to_parse)
  
      return ElementTree() if element is None else ElementTree(element)
docs: :return: an ElementTree initialized with the parsed element.
      :see: get_element(parent_to_parse, element_path)