• Get current editor is dirty or not.

    Returns Promise<boolean>