original_docstring: tests the current state of the task against the passed-in state name
docstring: tests the current state of the task against the passed-in state name
docstring_tokens: tests the current state of the task against the passed - in state name
code: def _state_is(self, state):
  		"""tests the current state of the task against the passed-in state name"""
  		statenames = gdb.types.make_enum_dict(gdb.lookup_type('enum tstate_e'))
  		if self._tcb['task_state'] == statenames[state]:
  			return True
  		return False
code_tokens: def _state_is ( self , state ) : statenames = gdb . types . make_enum_dict ( gdb . lookup_type ( 'enum tstate_e' ) ) if self . _tcb [ 'task_state' ] == statenames [ state ] : return True return False
short_docstring: tests the current state of the task against the passed-in state name
short_docstring_tokens: tests the current state of the task against the passed - in state name
comment: """tests the current state of the task against the passed-in state name"""