isUserInterfaceEnabled

Indicates whether UI is enabled right now. UI is disabled when document is being saved/loaded, or when manually disabled.

Enabling or disabling the user interface hides/shows all temporary UI elements (navigation buttons, redaction UI) and enables/disables user interaction (scrolling, thumbnail bar, annotation editing).