def METHOD_NAME(self, element, xpath, message, should_not_exist):
    element = parse_normalize(element, to_string=False)
    if bool(element.xpath(xpath)) == should_not_exist:
        raise AssertionError(message + etree.tostring(element, pretty_print=True, encoding='unicode'))