canUndo () {
    // There should always be at least one state (initializeState)
      return this.done.length > 1
    }
Vue Mixin to control the State history and undo/redo functionality

@type {Vue.mixin}
@see {@link https://vuejs.org/v2/guide/mixins.html|Vue Mixins}