isUserInterfaceEnabled

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

Return

true when UI is enabled right now.