def f(A,B,C):
    AB = ( B[0] - A[0] , B[1] - A[1] )
    AC = ( C[0] - A[0] , C[1] - A[1] )

    k = AC[0] / AB[0]

    return k * AB[1] == AC[1]
