docs: public boolean isInViewPort(Element element) {
          double elementTop = $(element).offset().top;
          double elementBottom = elementTop + $(element).outerHeight();
  
          JQueryElement target = getContainerElement();
          double viewportTop = target.scrollTop();
  
          if (target.asElement() != getDefaultContainer()) {
              viewportTop = target.offset().top;
          }
  
          double viewportBottom = viewportTop + target.height();
          return elementBottom > viewportTop && elementTop < viewportBottom;
      }