def defined(self):
        try:
            return np.isfinite([self.x, self.y]).all()
        except __HOLE__:
            return False
dataset/ETHPy150Open glue-viz/glue/glue/core/roi.py/PointROI.defined