For complex differentiability, you need to check the Cauchy-Riemann equations.
You need to find the real part $U$ and the imaginary part $V$:
$$\mathrm f(x+\mathrm iy) = U(x,y) + \mathrm i V(x,y)$$
Then you need to check that both $U_x = V_y$ and $U_y = -V_x$.
In a post last year, the real and imaginary parts were shown to be
\begin{eqnarray*}
U(x,y) &=& \frac{\sin 2x}{\cos 2x + \cosh 2y} \\ \\
V(x,y) &=& \frac{\sinh 2y}{\cos 2x + \cosh 2y}
\end{eqnarray*}
You now want to check where both $\frac{\partial U}{\partial x} = \frac{\partial V}{\partial y}$ and $\frac{\partial U}{\partial y} = -\frac{\partial V}{\partial z}$.
You also need $\tan z$ to be well-defined for it to be differentiable, i.e. $\cos 2x + \cosh 2y \neq 0$.