I currently want to check if the Editor is active or not so I noticed that the Editor has a getCurrentState method (undocumented?) which returns an object that contains a reference to the current tool, graphic, and a "isModified" boolean value. When the Editor is deactivated, the tool item is set to a value of zero. This got me wondering what that represents and I can't find any cross reference. The API Editor Reference has a list of constants but not what the true value of that constant is. I could assume that zero means the Editor is not active but I'd rather know definitively.
Is there some location with this information about constants used in the 3.x API? Somewhat related, is there some other way I can determine if the Editor is active or not?