Adds has_changes method in draft.py