@staticmethod
def _flag_what_changed(note, what_changed):
    """Flag a note field as changed"""
    if 'what_changed' not in note:
        note['what_changed'] = []
    if what_changed not in note['what_changed']:
        note['what_changed'].append(what_changed)
