src/bunny.route.js
function(uri) {

        if (this._routes[uri] !== undefined) {
            return uri;
        }

        for (var route in this._routes) {
            if (this.is(route, uri)) {
                return route;
            }
        }

        return false;
    }
function(uri) {

        if (this._routes[uri] !== undefined) {
            return uri;
        }

        for (var route in this._routes) {
            if (this.is(route, uri)) {
                return route;
            }
        }

        return false;
    }
function ( uri ) { if ( this . _routes [ uri ] !== undefined ) { return uri ; } for ( var route in this . _routes ) { if ( this . is ( route , uri ) ) { return route ; } } return false ; }
Check if route is defined. Returns route if found or false
@param uri
@returns {*}
Check if route is defined . Returns route if found or false