I'm reading a proposition about Martingale in my lecture note:
From the definition of martingale, I get $X_n$ is integrable. From this thread, I get the composition of a convex function with an integrable function is integrable. As such, $\phi(X_n)$ is automatically integrable.
Is the condition if $\phi\left(X_{n}\right)$ is integrable redundant?
Thank you so much ;)

If $X$ is integrable it does not follow that $X^{2}$ is. And $x \to x^{2}$ is convex. In the link you provided they are talking about Riemann integrability and boundedness of the function plays an important role. But an intergable random variable need not be bounded.