Let $f \in \mathbb{R}[x,y]$. I want to understand when $f$ has the following property: for all sufficiently large (positive) $k$, the level curves defined by
$$\displaystyle f(x,y) = k$$
consist of a finite number of bounded components. Clearly it is sufficient to assume that $f$ is positive definite, or when the Hessian of $f$ is strictly positive definite for all $(x,y) \in \mathbb{R}^2$.
Is there a relatively simple necessary and sufficient condition for this phenomenon?