docs: function isVisible(element){
      if (getComputedStyle(element, 'visibility') != 'visible')
        return false;
  
      var box = getBoundingRect(element);
  
      if (!box.width || !box.height)
        return false;
  
      return true;
    }