The closest to algebraic I know of is the following: Let L be the lie algebra of infinitesimal symplectic transformations $L_X\omega=0$, here $\omega$ is the symplectic form, and let $L_1$ be the Lie algebra of infinitesimal conforma symplectic transformations $L_X\omega+k_X\omega=0$ for a constant $k_X$. It is easily seen that $L$ is an ideal in $L_1$. Then Lichnerowicz proved the following: If $\omega$ is exact $L=[L_1,L_1]$; if $\omega$ is not exact $L=L_1$. All such statements are quite easy to prove; i am not sure but I think they are contained in "les varietes des Poisson et leurs algebres de Lie associes" in Journ. diff Geom. 1977. I cannot be at present more precise with the reference, sorry.