function screenshotOverlapsRect(screenshot, rect) {
  return rect.left <= screenshot.width &&
    0 <= rect.right &&
    rect.top <= screenshot.height &&
    0 <= rect.bottom;
}
@param {LH.Result.FullPageScreenshot['screenshot']} screenshot
@param {LH.Audit.Details.Rect} rect
@return {boolean}