/// <summary> /// Check if the path contains any blocked waypoints. /// </summary> /// <returns>True if it contains.</returns> public bool ContainsBlockedWaypoint() { return(Waypoints.Exists(waypoint => waypoint.isBlocked)); }