public boolean isLocalRoute(DomainPair pair) {
        return routes.containsKey(pair);
    }
Removes a route of a local {@link RoutableChannelHandler}

@param pair DomainPair associated to the route.
xmppserver/src/main/java/org/jivesoftware/openfire/spi/LocalRoutingTable.java