On the integrability of the discrete nonlinear Schrödinger equation