Epigraph Characterization of Convex Functions