```
if issubdtype(arr.dtype, np.complex):