function $IsStateFilter($state) {
  return function(state) {
    return $state.is(state);
  };
}
@ngdoc filter
@name ui.router.state.filter:isState

@requires ui.router.state.$state

@description
Translates to {@link ui.router.state.$state#is $state.is("stateName")}.