How do I figure out if the energy in a Hamiltonian is conserved or not? I have found the conditions for $H=E$ in Goldstein's Analytical Mechanics that the equations defining the generalized coordinates mustn't depend on t explicitly and that the forces have to be derivable from a conservative potential $V$. And further that H is conserved if the time-derivative is 0. However, I'm working a problem where I only know the Hamiltonian (and not the Lagrangian):
$$H(p,q) = \frac{p^2}{2m}*q^4+\frac{1}{2}*k*\frac{1}{q^2}.$$
I know that $p$ and $q$ are canonically conjugated and that $m$ is mass and $k$ is a constant. However, I don't know how I should verify whether or not this is the total energy?