The title may be a bit off so I am going to explain in depth...

I am basically trying to check if the way-point is the first in line so I can skip it, however I do not know how to do so. If I could get some help with this I would greatly appreciate it.