<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def connect(self, connection_config=None, *args, **kwargs):
 """ connect to the interface this will set the raw db connection to self.connection *args -- anything you want that will help the db connect **kwargs -- anything you want that the backend db connection will need to actually connect """

        if self.connected: return self.connected

        if connection_config: self.connection_config = connection_config

        self.connected = True
        try:
            self._connect(self.connection_config)

        except Exception as e:
            self.connected = False
            self.raise_error(e)

        self.log("Connected {}", self.connection_config.interface_name)
        return self.connected