def METHOD_NAME(self):
    r"""
    Checking utility: web_latex_ideal_fact
    """
    from sage.all import NumberField
    x = var('x')
    K = NumberField(x**2 - 5, 'a')
    a = K.gen()
    I = K.ideal(2/(5+a)).factor()
    self.assertEqual(web_latex_ideal_fact(I),
                     '\\( \\left(-a\\right)^{-1} \\)')
    self.assertEqual(web_latex_ideal_fact(I, enclose=False),
                     ' \\left(-a\\right)^{-1} ')