There is also `np.iscomplexobj(x)` http://docs.scipy.org/doc/numpy/reference/generated/numpy.iscomplexobj.html which I think is equivalent.