Points on a curve

Hi I have a curve (line with start point and end point) and I have a set of points (x, y coordinates). I am trying to determine which points are on the line. Would anybody know of a node that can do this?

Have you tried using “DoesIntersect” node?

I had not heard of that node. I will take a look, thanks.