Checks if the widget with the id is currently in-view or not.
id
bool inView(String id) { return _currentInViewIds.contains(id); }