Exactly. `goog.style.isElementShown` interrogates the DOM, which could (in theory) trigger a reflow.