I have to prove that a Lie algebra over the field $k$ is trivial if and only if the enveloping algebra $U(L)=k$.
I have an idea of proof: If $L=\{0\}$ we have that the tensor algebra $T^m=\{0\}$ for all $m \neq 0$, so we have $U(L)=k$. We have that always exists an injection of $L$ in the enveloping algebra $U(L)$, which has dimension $1$. So $\dim(L) \le 1 $.
How can I finish my proof?