Equivalence of Definitions of Connected Topological Space/No Subsets with Empty Boundary implies No Clopen Sets

Theorem
Let $T = \left({S, \tau}\right)$ be a topological space.

Let $T$ be such that the only subsets of $S$ whose boundary is empty are $S$ and $\varnothing$.

Then the only clopen sets of $T$ are $S$ and $\varnothing$.

Proof
Let $H \subseteq S$ be a clopen set of $T$.

From Set is Clopen iff Boundary is Empty, $H$ has an empty boundary.

By hypothesis, $H = S$ or $H = \varnothing$.

That is, the only clopen sets of $T$ are $S$ and $\varnothing$.