For particular functions, there are indeed easier ways of checking.
For example, for any function $g(x)$ which is twice differentiable in an interval $(a,b)$
$$( \forall x\in(a,b) (\frac{d^2g}dx^2 \leq 0) ) \implies g(x) \mbox{ is convex in } (a,b)$$
That is, a function with non-negative second derivative in an interval is convex in that interval.
Another property is that any function $g(x)$ which is not continuous on $(a,b)$ cannot be convex on $(a,b)$.
But there can be other functions which are more difficult to deal with. Suppose $g(x)$ is continuous on $(a,b)$ but is not everywhere differentiable, or has a discontinuous first derivative, so that the second derivative does not exist everywhere. Such a function can still be convex; for example
Somebody changed my answer, saying that a function with a non-positive second derivative is convex. Of course, what one calls "convex" or "concave" for a function from $\Bbb R \to \Bbb R$ is somewhat just a matter of convention, but if you believe that the common usage is the definition found in Wikipedia, the function $x^2$ is convex.