public boolean canRoute(String url) {
        URI uri;
        try {
            uri = new URI(url);
        } catch (URISyntaxException e) {
            return false;
        }
        return !TextUtils.isEmpty(uri.getScheme()) && mRoutes.containsKey(uri.getScheme());
    }