code: def check_on_curve(self):
          
          if not self._curve.contains_point(*self):
              raise NoSuchPointError('({},{}) is not on the curve {}'.format(self[0], self[1], self._curve))
docs: raise :class:`NoSuchPointError` if the point is not actually on the curve.