Adding $state.contains for quick state checks. 

I am currently using this to show and hide dom elements depending on state.

This is really useful if you would like to have nested states at the same position and same name but the parent is different. 

EX:
$state.contains('blah',2)

stuff.blah.re.knob => true
stuff.blah.un.good => true
carrot.blah.un.good => true
carrot.succy.un.good => false

$state.contains('stuff',1)

stuff.blah.re.knob => true
stuff.blah.un.good => true
carrot.blah.un.good => false
carrot.succy.un.good => false

If anybody has a better suggestion I'm all ears.