def METHOD_NAME(self):
    """
    Return 1 if contained in the alternating group, -1 otherwise.
    EXAMPLES::
        sage: R.<x> = QQ[]
        sage: f1 = x^4 - 17*x^3 - 2*x + 1
        sage: G1 = f1.galois_group(pari_group=True)
        sage: G1.signature()
        -1
    """
    return Integer(self.__x[1])