code: def contains(self, point):
          
  
          y2 = point.y * point.y
          x3 = point.x * point.x * point.x
          return (y2 - (x3 + self.a * point.x + self.b)) % self.p == 0
docs: :param point:
              A Point object
  
          :return:
              Boolean if the point is on this curve