There appears to be an API (AtomWindow::isSpecWindow()) that would tell me. It is one of the few places where options.test appears to be stored from atom-applications.coffee. Unfortunately, I can’t figure out how to get access to AtomWindow.