with this you are sure that draft will be empty.
Did you ment to do a 'if not nb.metadata._draft' ?