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)
Retrieves the number of sectors of a TSK volume system part object.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/markdown/regression-tests.py/TestBlockParserState.testIsSate--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/lib/tsk_partition.py/TSKVsPartGetNumberOfSectors