Implement canUndo in StructuredNodeAnnotateCommand