

def isonscreen(self, x, y):
    'Returns True if the given xy cell coordinates are on the PygcurseSurface object, otherwise False.'
    return ((x >= 0) and (y >= 0) and (x < self.width) and (self < self.height))

dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py PygcurseSurface.isonscreen/VarMisuse@39/76 `y`->`self`