Function is Convex iff Epigraph is Convex

Theorem
Let $f$ be a real-valued function.

Then $f$ is convex its epigraph is convex.