A characterization of graded symplectic structures