title: How to check if route with specific routename is registered in global.asax
body: <p>i have registered some routes in my global.asax:</p>
  
  <pre><code>routes.MapPageRoute("route1", ...);
  
  routes.MapPageRoute("route2", ...);
  
  routes.MapPageRoute("route3", ...);
  </code></pre>
  
  <p>how can i check in my application if the routes (e.g. 'route2') exist?</p>
  
  <p>i can find the route in the collection:</p>
  
  <pre><code>System.Web.Routing.RouteTable.Routes
  </code></pre>
  
  <p>but i cannot find a routename. how can i filter or search in the colection. do i have to check for the url parameter to check if the route exists or is there a more comfortable way?!</p>
  
  <p>thanks for your help!</p>