function stateAlreadyInBreadcrumbs(state, breadcrumbs) {
                        var i;
                        var alreadyUsed = false;
                        for(i = 0; i < breadcrumbs.length; i++) {
                            if (breadcrumbs[i].route === state.name) {
                                alreadyUsed = true;
                            }
                        }
                        return alreadyUsed;
                    }
Check whether the current `state` has already appeared in the current breadcrumbs array. This check is necessary
when using abstract states that might specify a proxy that is already there in the breadcrumbs.
@param state
@param breadcrumbs
@returns {boolean}