def check_Triangle(x1,y1,x2,y2,x3,y3):
    # A triangle is valid if the three points are not collinear
    # We can check this using the area formula: if area != 0, points form a triangle
    # Area = 0.5 * |x1(y2-y3) + x2(y3-y1) + x3(y1-y2)|
    area = x1 * (y2 - y3) + x2 * (y3 - y1) + x3 * (y1 - y2)
    return area != 0