def METHOD_NAME(cls, column, **kwargs):
    def is_xml(val):
        try:
            etree.fromstring(val)
            return True
        except Exception:
            return False
    return column.map(is_xml)