'Efficiently extract the coefficient of a product.'

def as_coeff_Mul(self, rational=False):

    if (rational and (not self.is_Rational)):
        return (S.One, self)
    return ((self, S.One) if self else (S.One, self))
