parameters: (self)
return_statement: return bool(self.get_modem_state() & MODEMSTATE_MASK_DSR)
docstring: Read terminal status line: Data Set Ready.
docstring_summary: Read terminal status line: Data Set Ready.
docstring_tokens: Read terminal status line : Data Set Ready .
function: def dsr(self):
          """Read terminal status line: Data Set Ready."""
          if not self.is_open:
              raise portNotOpenError
          return bool(self.get_modem_state() & MODEMSTATE_MASK_DSR)
function_tokens: def dsr ( self ) : if not self . is_open : raise portNotOpenError return bool ( self . get_modem_state ( ) & MODEMSTATE_MASK_DSR )