Consider a random variable $X\in \mathbb{R}^d$. Let ${\theta_m}$ be a sequence of real numbers that converge to $\theta$. Let $f(x,y)$ be a function that is not continuous. To be specific, fix, $x=a$, $f_a(y):= f(a,y)$ is not a continuous function in $y$. However, $E(f(X,y))$ is a continuous function in $y$. Example: take $f(x,y) = I(x\leq y)$, with the given fact $P(X\leq y)$ is continuous in $y$. Now, my question is: is it possible to show, $$E|f(X,\theta_m)-f(X,\theta)|\xrightarrow{}0?$$
It feels like the above should be true, but unable to show it rigorously. Any hint or help will be greatly appreciated.
Initially, I thought it would be straight-forward by interchanging limit and expectation, by virtue of Fubini's theorem,
$$\text{lim}_{m\xrightarrow{}\infty} E|f(X, \theta_m)-f(X,\theta)| = E|\text{lim}_{m\xrightarrow{}\infty}f(X, \theta_m)-f(X,\theta)|$$
But, can't proceed from here since $f$ is discontinuous.