I'm studying singularities in complex analysis and came across the following function:
$$f(z):=\frac{1}{z\cos(\frac{1}{z})}$$
I already figured out that $f$ has a non-isolated singularity in $0$ and that there are poles in $$z_k:=\frac{2}{\pi(1+2k)}$$ for $k\in\mathbb{Z}$, tending towards $0$ for $|k|\to\infty$. I am now trying to find out if the domain $$D_f:=\mathbb{C}\setminus(\{z_k|k\in\mathbb{Z}\}\cup\{0\}),$$ is closed, open or neither.
I already came up with a proof that $D_f$ cannot be closed because if $z\in\{z_k|k\in\mathbb{Z}\}\cup\{0\}$, there is no $\epsilon>0$ such that $B(z_1,\epsilon)\subseteq \{z_k|k\in\mathbb{Z}\}\cup\{0\}$ due to $z_k\le z_1$ for all $k\in\mathbb{Z}$.
Can one help me out with the rest?
Thank you in advance.