Component isShowing on Viewport

I’m using Viewport scroll feature to show a bunch of components.
isShowing returns true even if component is currently not visible. How can I detect is component is actually visible to avoid unnecessary update of its content?