Pathfinding.GridGraph.IsValidConnection C# (CSharp) Method