code: def isPointVisible(self, x, y):
          
          class POINT(ctypes.Structure):
              _fields_ = [("x", ctypes.c_long), ("y", ctypes.c_long)]
          pt = POINT()
          pt.x = x
          pt.y = y
          MONITOR_DEFAULTTONULL = 0
          hmon = self._user32.MonitorFromPoint(pt, MONITOR_DEFAULTTONULL)
          if hmon == 0:
              return False
          return True
docs: Checks if a point is visible on any monitor.