Function EditorStateInfo.active

returns true if editor is in active state

bool active() @property;