parameters: (self)
return_statement: return self._state
docstring: Return the state of the device.
docstring_summary: Return the state of the device.
docstring_tokens: Return the state of the device .
function: def state(self):
          """Return the state of the device."""
          return self._state
function_tokens: def state ( self ) : return self . _state