consul/ui/packages/consul-ui/app/helpers/state-matches.js