How to check if a point is reachable by pawn?

Uh, sorry, didnt know that its deprecated. Will need to look for a current implementation.