Necessary and Sufficient Condition for Greenberger-Horne-Zeilinger Diagonal States to Be Full N-partite Entangled