def lxml_installed():
    """
    checks if lxml is installed
    used for fallbacks to other builtin modules
    """
    import imp
    try:
        imp.find_module('lxml')
        return True
    except ImportError:
        return False
