def required_attributes(element, *attributes):
if not reduce(lambda still_valid, param: still_valid and param in element.attrib, attributes, True):<EOL><INDENT>raise NotValidXmlException(msg_err_missing_attributes(element.tag, *attributes))<EOL><DEDENT>
Check element for required attributes. Raise ``NotValidXmlException`` on error.

    :param element: ElementTree element
    :param attributes: list of attributes names to check
    :raises NotValidXmlException: if some argument is missing