code: def _Connect(self, banner=None, **kwargs):
          
  
          if not banner:
              banner = socket.gethostname().encode()
  
          conn_str = self.protocol_handler.Connect(self._handle, banner=banner, **kwargs)
  
          # Remove banner and colons after device state (state::banner)
          parts = conn_str.split(b'::')
          self._device_state = parts[0]
  
          # Break out the build prop info
          self.build_props = str(parts[1].split(b';'))
  
          return True
docs: Connect to the device.
  
          Args:
            banner: See protocol_handler.Connect.
            **kwargs: See protocol_handler.Connect and adb_commands.ConnectDevice for kwargs.
                 Includes handle, rsa_keys, and auth_timeout_ms.
          Returns:
            An instance of this class if the device connected successfully.