internal static bool HasTileFor(this TiledBarrierGraph graph, int vertex) { return(graph.HasTile(graph.TileFor(vertex))); }