docs: def content_present(self, x: int, y: int) -> bool:
          """Determines if a line or printed text is at the given location."""
  
          # Text?
          if (x, y) in self.entries:
              return True
  
          # Vertical line?
          if any(v.x == x and v.y1 < y < v.y2 for v in self.vertical_lines):
              return True
  
          # Horizontal line?
          if any(line_y == y and x1 < x < x2
                 for line_y, x1, x2, _ in self.horizontal_lines):
              return True
  
          return False