Zymund states in his book Lusin's Theorem the following
Let $E$ be some Lebesgue measurable subset of $\mathbb{R}^d$ and let $f:E\rightarrow \mathbb{R}$ be some function. $f$ is measurable if and only if for all $\epsilon$, there exists some closed $F\subset \mathbb{R}^d$ such that $F \subset E, |E\setminus F|<\epsilon$ and $f|_{F}:F\rightarrow \mathbb{R}$ is continuous.
I wish to ask: Does the Theorem hold true for extended valued function $f: E\rightarrow \mathbb{R}\cup \{+\infty,-\infty\}$?
I searched online for this question, but there seems to be no discussion on this site yet. All I get are this post, this post, and this post, which are all discussions about the Hypothesis of Lusin's Theorem, but have not much to do with my question. Thanks in advance for help in all forms.