Let $X$ be a metric space with $p \in X$ a point, $C \subset X$ a subset. Show $C$ is closed iff $C \cap \overline{B_R(p)}$ is closed for any $R>0$.
Supposing $C$ is closed is pretty easy as intersecting it with closed ball is still closed.
So then assume $C \cap \overline{B_R(p)}$ is closed (so it equals its closure) and want to show $C$ is closed, i.e., $C = \overline{C}$.
Is this the way to go about it? Clearly $C \subset \overline{C}$, so we wish to show $\overline{C} \subset C$ but taking $x \in \overline{C}$ and showing $x \in C$?
Because then $x$ is a limit point of $C$ so any open ball (for any choice of $R>0$) centered at $p$ intersects $C$ nontrivially? Am I on the right track? Just a hint will suffice not an entire solution. Thanks!