'Test State.isstate().'

def testIsSate(self):

    self.assertEqual(self.state.isstate('anything'), False)
    self.state.set('a_state')
    self.assertEqual(self.state.isstate('a_state'), True)
    self.state.set('state2')
    self.assertEqual(self.state.isstate('state2'), True)
    self.assertEqual(self.state.isstate('a_state'), False)
    self.assertEqual(self.state.isstate('missing'), False)
