Return True if both the real and imaginary parts of x are finite, and False otherwise.
cmath.isfinite(x)